0.1.4 • Published 9 years ago

fs-bluebird v0.1.4

Weekly downloads
22
License
ISC
Repository
github
Last release
9 years ago

fs-bluebird

The intention of this library is to retain the same *Async prefix syntax while also covering the edge case of fs.exists (which doesn't follow the error, result callback parameter pattern).

If there are more edge cases to take care of I will be happy to add them to this library. Better yet, you could send me a pull request with the fix and associated mocha test and I'll merge.

###fs.existsAsync example:

var bFs = require('fs-bluebird');

var fileThatExists = './index.js';

bFs.existsAsync(fileThatExists)
  .then(function(exists) {
    if (exists) {
      // do something with file
    }
  });

Feel free to contact me with questions

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago