A mako plugin writes an output file to disk
Last updated a year ago by dominicbarnes .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install mako-write 
SYNC missed versions from official npm registry.


A plugin that writes files to disk.

npm version npm dependencies npm dev dependencies


  • ensures that file.path !== file.initialPath to prevent clobbering
  • writes file.contents to disk at the current file.path location


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)
Maintainers (1)
Today 0
This Week 0
This Month 30
Last Day 0
Last Week 30
Last Month 31
Dependencies (3)
Dev Dependencies (2)

Copyright 2014 - 2016 © |