broccoli-output-wrapper
TypeScript icon, indicating that this package has built-in type declarations

3.2.5 • Public • Published

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

Dependents (3)

Package Sidebar

Install

npm i broccoli-output-wrapper

Weekly Downloads

498,972

Version

3.2.5

License

MIT

Unpacked Size

50.7 kB

Total Files

11

Last publish

Collaborators

  • thoov
  • rwjblue
  • stefanpenner
  • snrai