0.1.0 • Published 6 years ago

@lutangar/observable-fs v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

observable-fs

Observable node fs functions respecting the nodejs API.

Install

npm install --save @lutangar/observable-fs

Usage

const { writeFile } = require('@lutangar/observable-fs');

writeFile('foo.txt', 'bar')
.concat(
    readFile('foo.txt')
    .do(content => console.log(content.toString('utf8')))
);

Resources

Licence

MIT

0.1.0

6 years ago