This package has been deprecated

Author message:

is now bundled with Jpex automatically

jpex-fs

0.0.2 • Public • Published

$fs - Jpex File System Wrapper

$fs is a wrapper around node's File System module (fs). It includes only the asynchronous methods (readFileSync etc. are not included). Any method that would normally take a callback has been converted into a promise (with the exception of fs.watch).

var MyClass = jpex.extend(function($fs){
  $fs.readFile('files/file', 'utf8')
    .then(function(data){})
    .catch(function(err){});
});

Dependents (0)

Package Sidebar

Install

npm i jpex-fs

Weekly Downloads

1

Version

0.0.2

License

ISC

Last publish

Collaborators

  • jackmellis