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

mako-write

A plugin that writes files to disk.

npm version npm dependencies npm dev dependencies

Purpose

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

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)

Current Tags

  • 1.1.1                                ...           latest (a year ago)

30 Versions

  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.11.1                                ...           2 years ago
  • 0.11.0                                ...           2 years ago
  • 0.10.5                                ...           2 years ago
  • 0.10.4                                ...           2 years ago
  • 0.10.3                                ...           2 years ago
  • 0.10.2                                ...           2 years ago
  • 0.10.1                                ...           2 years ago
  • 0.10.0                                ...           3 years ago
  • 0.9.1                                ...           3 years ago
  • 0.9.0                                ...           3 years ago
  • 0.8.0                                ...           3 years ago
  • 0.7.2                                ...           3 years ago
  • 0.7.1                                ...           3 years ago
  • 0.7.0                                ...           3 years ago
  • 0.6.0                                ...           3 years ago
  • 0.5.1                                ...           3 years ago
  • 0.5.0                                ...           3 years ago
  • 0.4.0                                ...           3 years ago
  • 0.3.0                                ...           3 years ago
  • 0.2.2                                ...           3 years ago
  • 0.2.1                                ...           3 years ago
  • 0.2.0                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
  • 0.0.4                                ...           3 years ago
  • 0.0.3                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 29
Last Day 0
Last Week 29
Last Month 1
Dependencies (3)
Dev Dependencies (2)

Copyright 2014 - 2016 © taobao.org |