swf

safe-write-file

Use [output-file](https://www.npmjs.com/package/output-file) instead.

Showing:

Popularity

Downloads/wk

651

GitHub Stars

0

Maintenance

Last Commit

6yrs ago

Contributors

0

Package

Dependencies

1

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Deprecated!
use npm output-file instead

Readme

safe-write-file

Like fs.writeFile, but it will create the needed directories before trying to create the file.

Install

npm install safe-write-file

Usage

var safeWriteFile = require('safe-write-file')

safeWriteFile(__dirname+'/these/will/be/created/file.txt', 'Text, bro!')

Parameters

See the fs.writeFile docs.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial