文件操作 - README.md
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/standard-as-callback/README.md
编辑文件内容
# Standard asCallback A performant and standard (Bluebird) library that registers a node-style callback on a promise. [](https://travis-ci.org/luin/asCallback) ## Install ``` $ npm install standard-as-callback ``` ## Usage ```javascript const asCallback = require('standard-as-callback') const promise = new Promise(function (resolve) { setTimeout(function () { resolve('hello world!') }, 1000) }) asCallback(promise, function callback (err, res) { console.log(err, res) // null, 'hello world!' }) ``` ## Thanks Most code of this library are ported from the awesome Bluebird library. ## License The MIT License.
修改文件时间
将文件时间修改为当前时间的前一年
删除文件