fs.proms

1.0.2 • Public • Published

fs.proms

npm : fs.proms

npm version coverage status build status npm downloads

Minimal promise wrapper on top of fs module.

Usage

Note : node version >= 8.10

const fs = require('fs.proms');

fs.readFile('/path/to/file.txt', options)
    .then((data) => {
        ... //Do Something
    })
    .catch((err) => {
        console.log('Error', err);
    })

Installation

npm install fs.proms

Test

npm test

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    10
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    10
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i fs.proms

Weekly Downloads

12

Version

1.0.2

License

MIT

Unpacked Size

20.7 kB

Total Files

12

Last publish

Collaborators

  • sushimmdutta