Skip to content

void666/fs.promise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Promise wrapper on top of fs module

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published