0.0.1 • Published 9 years ago

fsss v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

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

0.0.1

9 years ago