writeout
Write out string files with various options.
Installation
npm install writeout --save
Usage
'use strict' const writeout = // Generate a file.
Options
Name | Default | Description |
---|---|---|
mkdirp |
false | Make parent directories. |
skipIfIdentical |
false | Skip to write if existing content is identical. |
mode |
"644" | File permission. |
force |
false | Force to write even if existing file is readonly. |
License
This software is released under the MIT License.