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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i fs-thenable

      Weekly Downloads

      1

      Version

      1.1.1

      License

      MIT

      Last publish

      Collaborators

      • vidul