fs-thenable

1.1.1 • Public • Published

fs-thenable

Promised version of the fs module which works on Electron. Based on Proxy (i.e. it supports all fs methods).

Build Status

Installation

npm i fs-thenable

Example

fs.readFile(__filename, 'utf8').then(
    function (data) {
        console.info(data);
    },
    function (err) {
        console.error(err.message);
    }
);

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.1
    1
  • 1.1.0
    0
  • 1.0.3
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i fs-thenable

Weekly Downloads

1

Version

1.1.1

License

MIT

Last publish

Collaborators

  • vidul