<commit_before># Broccoli Funnel

[![Build Status](https://travis-ci.org/broccolijs/broccoli-funnel.svg?branch=master)](https://travis-ci.org/broccolijs/broccoli-funnel)

Broccoli Funnel is a plugin that filters a tree and returns a new tree that
represents a subset of the files in the original tree. The filters are
expressed as regular expressions.

Inspired by [broccoli-static-compiler](https://github.com/joliss/broccoli-static-compiler).

## Documentation

### `funnel(inputTree, options)`

`inputTree` *{Single tree}*

A Broccoli tree. A tree in Broccoli can be either a string that references a
directory in your project or a tree structure returned from running another
Broccoli plugin.

If your project has the following file structure:

```shell
.
├── Brocfile.js
└── src/<commit_msg>Remove reference to deprecated static-compiler plugin<commit_after># Broccoli Funnel

[![Build Status](https://travis-ci.org/broccolijs/broccoli-funnel.svg?branch=master)](https://travis-ci.org/broccolijs/broccoli-funnel)

Broccoli Funnel is a plugin that filters a tree and returns a new tree that
represents a subset of the files in the original tree. The filters are
expressed as regular expressions.

## Documentation

### `funnel(inputTree, options)`

`inputTree` *{Single tree}*

A Broccoli tree. A tree in Broccoli can be either a string that references a
directory in your project or a tree structure returned from running another
Broccoli plugin.

If your project has the following file structure:

```shell
.
├── Brocfile.js
└── src/
{'fraction_non_alphanumeric': 0.09486679662118258, 'fraction_numerical': 0.0, 'mean_word_length': 5.03921568627451, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4247024', 'n_tokens_mistral': 476, 'n_tokens_neox': 460, 'n_words': 177}