0.0.1 • Published 9 years ago
fsss v0.0.1
fsss
A wrapper for Node's fs()
module; asynchronous functions return promises.
Installation
$ npm install fsss --save
Usage
var fs = require('fsss');
var filename = 'filename';
fs.exists(filename)
.then(function (exists) {
if (exists) {
return fs.readFile(filename);
}
})
.catch(function (error) {
console.error(error);
});
License & Contributing
- Details on the license can be found here
- Details on running tests and contributing can be found here
0.0.1
9 years ago