package
safer file writing for node
npm install writefileGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
safer file writing for node
With npm
$ npm install writefile --savethen in your app:
var writefile = require('writefile')both these function return Results though they expose their internal callback based APIs as fn.plain. Feel free to use those functions instead.
fs.writeFile() but makes parent directories if required
as above but accepts a Stream instead of a String
$ npm install
$ node testEstimated unpacked size across 7 packages.
118.2 kB
Includes dependencies.
3 direct · 1 outdated