# broccoli-select

> A Broccoli plugin for selecting files based on glob patterns

Latest version **0.1.0** (published 2014-05-06) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2014-05-06 |
| First published | 2014-05-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Michael Jackson |
| Maintainers | mjackson |
| Keywords | broccoli, select, build |

## Links

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

## Dependencies (3)

- [mkdirp](https://npm.io/package/mkdirp.md) ^0.4.1
- [broccoli-writer](https://npm.io/package/broccoli-writer.md) ^0.1.1
- [broccoli-kitchen-sink-helpers](https://npm.io/package/broccoli-kitchen-sink-helpers.md) ^0.2.2

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2014-05-06

## README

## broccoli-select

A [Broccoli](https://github.com/joliss/broccoli) plugin that enables greater flexibility when selecting files based on glob patterns.

### Usage

```js
var select = require('broccoli-select');

var templatesTree = select('templates', {

  // A list of glob patterns of files to select as input.
  // May be ommitted to select all files in the input tree.
  // May also be just "files" instead of "acceptFiles".
  acceptFiles: [ '**/*.hbs' ],

  // A list of glob patterns that will not be included as input. 
  rejectFiles: [ 'ignore-me.hbs' ],

  // The output directory for all selected files.
  outputDir: '/files/go/here'

});
```

### License

MIT

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