Socket
Socket
Sign inDemoInstall

broccoli-output-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-output-wrapper

Output wrapper is a library to write output file to outputpath.


Version published
Weekly downloads
360K
decreased by-4.14%
Maintainers
1
Weekly downloads
 
Created
Source

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

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

FAQs

Package last updated on 06 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc