broccoli-output-wrapper
v3.2.5
Published
Output wrapper is a library to write output file to outputpath.
Downloads
1,697,785
Readme
broccoli-output-wrapper
This libary is to provide Proxy to FS operations for Broccoli. Broccoli Plugin developers can just write to the outputPath using the proxy. This libary is not intended to use independently outside broccoli or broccoli-plugin as of now.
APIs
- readFileSync
- existsSync
- lstatSync
- readdirSync
- statSync
- writeFileSync
- appendFileSync
- mkdirSync
- unlinkSync
- symlinkSync
- utimesSync
All these operations above are same as File Operations documented in node API guide.
- rmdirSync
Perform same operation as node guide.
We have polyfilled recursive: true
option to perform a recursive directory removal. In recursive mode, errors are not reported if path does not exist, and operations are retried on failure. Default: false