npm.io
1.0.25 • Published 8 years ago

makestatic-write-file

Licence
MIT
Version
1.0.25
Deps
1
Vulns
0
Weekly
0

Write File

Write output files to disc

Plugin that writes output files to disc.



Install

yarn add makestatic-write-file

API

WriteFile

Writes a file to disc using the output path and content buffer assigned to the file.

.sources
WriteFile.prototype.sources(file, context)

Writes a file to disc.

Returns a promise that resolves when the file has been written.

  • file Object the current file.
  • context Object the processing context.

License

MIT


Created by mkdoc on March 12, 2017