mako-write
v1.1.1
Published
A mako plugin writes an output file to disk
Readme
mako-write
A plugin that writes files to disk.
Purpose
- ensures that
file.path !== file.initialPathto prevent clobbering - writes
file.contentsto disk at the currentfile.pathlocation
API
write(extensions, [options])
The extensions argument can be passed as either a single String or an Array of extensions.
(without the leading dot)
The following options are available:
force: bypasses the "initialPath" check (useful when the file only exists in memory)
