# broccoli-stew

> foundation of any healthy brocfile

Latest version **3.0.0** (published 2019-06-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install broccoli-stew
pnpm add broccoli-stew
yarn add broccoli-stew
bun add broccoli-stew
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2019-06-20 |
| First published | 2014-12-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | 8.* \|\| >= 10.* |
| Dependencies | 14 |
| Unpacked size | 24.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 60 |
| Author | Stefan Penner & Robert Jackson |
| Maintainers | caitp, chadhietala, kellyselden, mikrostew, stefanpenner, zackthehuman |
| Keywords | broccoli, broccoli-plugin |

## Links

- npm: https://www.npmjs.com/package/broccoli-stew
- Repository: https://github.com/stefanpenner/broccoli-stew
- Issues: https://github.com/stefanpenner/broccoli-stew/issues
- npm.io page: https://npm.io/package/broccoli-stew

## Dependencies (14)

- [rsvp](https://npm.io/package/rsvp.md) ^4.8.5
- [chalk](https://npm.io/package/chalk.md) ^2.4.1
- [debug](https://npm.io/package/debug.md) ^4.1.1
- [resolve](https://npm.io/package/resolve.md) ^1.11.1
- [fs-extra](https://npm.io/package/fs-extra.md) ^8.0.1
- [minimatch](https://npm.io/package/minimatch.md) ^3.0.4
- [walk-sync](https://npm.io/package/walk-sync.md) ^1.1.3
- [broccoli-debug](https://npm.io/package/broccoli-debug.md) ^0.6.5
- [broccoli-funnel](https://npm.io/package/broccoli-funnel.md) ^2.0.0
- [broccoli-plugin](https://npm.io/package/broccoli-plugin.md) ^2.1.0
- [symlink-or-copy](https://npm.io/package/symlink-or-copy.md) ^1.2.0
- [ensure-posix-path](https://npm.io/package/ensure-posix-path.md) ^1.0.1
- [broccoli-merge-trees](https://npm.io/package/broccoli-merge-trees.md) ^3.0.1
- [broccoli-persistent-filter](https://npm.io/package/broccoli-persistent-filter.md) ^2.3.0

## Recent versions

- 3.0.0 (latest) — 2019-06-20
- 2.1.0 — 2019-03-14
- 2.0.1 — 2018-10-31
- 2.0.0 — 2018-07-11
- 1.6.0 — 2018-07-11
- 1.5.0 — 2017-05-08
- 1.4.2 — 2017-04-17
- 1.4.1 — 2017-04-16
- 1.4.0 — 2016-10-10
- 1.3.3 — 2016-09-14
- 1.3.2 — 2016-07-11
- 1.3.1 — 2016-05-23
- 1.3.0 — 2016-05-23
- 1.2.0 — 2015-12-22
- 1.1.0 — 2015-12-21
- … 29 more at https://npm.io/package/broccoli-stew/versions

## README

# Broccoli Stew [![Build Status](https://travis-ci.org/stefanpenner/broccoli-stew.svg)](https://travis-ci.org/stefanpenner/broccoli-stew) [![Build status](https://ci.appveyor.com/api/projects/status/orspre01ru61xiba?svg=true)](https://ci.appveyor.com/project/embercli/broccoli-stew) [![Inline docs](http://inch-ci.org/github/stefanpenner/broccoli-stew.svg?branch=master)](http://inch-ci.org/github/stefanpenner/broccoli-stew)

Provides commonly used convenience functions for developing broccoli based build pipelines.

## What's inside

Currently the following methods are available:

- [`env`](https://github.com/stefanpenner/broccoli-stew/blob/master/lib/env.js#L27) - Conditionally runs a callback based upon the current environment.
- [`mv`](https://github.com/stefanpenner/broccoli-stew/blob/master/lib/mv.js#L58) -  Moves an input tree to a different location.
- [`rename`](https://github.com/stefanpenner/broccoli-stew/blob/master/lib/rename.js#L26) - Renames files in a tree.
- [`find`](https://github.com/stefanpenner/broccoli-stew/blob/master/lib/find.js#L85) - Match files in a tree.
- [`map`](https://github.com/stefanpenner/broccoli-stew/blob/master/lib/map.js#L31) - Maps files, allow for simple content mutation.
- [`log`](https://github.com/stefanpenner/broccoli-stew/blob/master/lib/log.js#L27) - Logs out files in the passed tree.
- [`debug`](https://github.com/stefanpenner/broccoli-stew/blob/master/lib/debug.js#L12) - Writes the passed tree to disk at the root of the project.
- [`rm`](https://github.com/stefanpenner/broccoli-stew/blob/master/lib/rm.js#L40) - Remove files from a tree.
- [`afterBuild`](https://github.com/stefanpenner/broccoli-stew/blob/master/lib/after-build.js) - Calls a callback function after the tree is read.
- [`npm.main`](https://github.com/stefanpenner/broccoli-stew/blob/master/lib/npm.js#L17) - Create a tree with Node module's main entry


## Ok, but tell me more

* [using broccoli-stew to debug a broccoli tree](https://dockyard.com/blog/2015/02/02/debugging-a-broccoli-tree)

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