# broccoli-output-wrapper

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

Latest version **3.2.5** (published 2020-11-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install broccoli-output-wrapper
pnpm add broccoli-output-wrapper
yarn add broccoli-output-wrapper
bun add broccoli-output-wrapper
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.2.5 |
| Published | 2020-11-03 |
| First published | 2019-10-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | 10.* \|\| >= 12.* |
| Dependencies | 3 |
| Unpacked size | 49.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | sparshithNR |
| Maintainers | thoov, rwjblue, stefanpenner, snrai |

## Links

- npm: https://www.npmjs.com/package/broccoli-output-wrapper
- npm.io page: https://npm.io/package/broccoli-output-wrapper

## Dependencies (3)

- [fs-extra](https://npm.io/package/fs-extra.md) ^8.1.0
- [symlink-or-copy](https://npm.io/package/symlink-or-copy.md) ^1.2.0
- [heimdalljs-logger](https://npm.io/package/heimdalljs-logger.md) ^0.1.10

## Recent versions

- 3.2.5 (latest) — 2020-11-03
- 3.2.4 — 2020-11-03
- 3.2.3 — 2020-06-25
- 3.2.1 — 2020-02-17
- 3.2.0 — 2019-12-17
- 3.1.1 — 2019-12-10
- 3.1.0 — 2019-12-06
- 3.0.0 — 2019-12-06
- 2.0.0 — 2019-12-03
- 1.0.2 — 2019-11-06
- 1.0.1 — 2019-10-25
- 1.0.0 — 2019-10-18

## 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](https://nodejs.org/api/fs.html).

* rmdirSync

Perform same operation as node [guide](https://nodejs.org/api/fs.html#fs_fs_rmdirsync_path_options).
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
* [symlinkOrCopySync](https://github.com/broccolijs/node-symlink-or-copy#node-symlink-or-copy)
* [outputFileSync](https://github.com/jprichardson/node-fs-extra/blob/master/docs/outputFile-sync.md)

---
_Source: https://npm.io/package/broccoli-output-wrapper · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
