Nacho Portion Monitor

    broccoli-flow

    1.0.0 • Public • Published

    broccoli-flow

    Build Status Test Coverage Code Climate

    Run Flow checking through Broccoli

    Installation

    npm install --save-dev broccoli-flow

    Usage

    Chances are, you're not going to use this directly, since Broccoli is most often used as part of the Ember CLI. If that's the case for you, then you'll want to check out ember-cli-flow.

    If you actually are using it through Broccoli directly, the API is pretty simple.

    // See more in `tests/broccoli-plugin.js`
    const Funnel = require('broccoli-funnel');
    const { mv } = require('broccoli-stew');
    const FlowFilter = require('broccoli-flow');
     
    let tree = new Funnel('input');
    tree = new FlowFilter(tree, {
      printErrors: false
    });
    tree = mv(tree, 'output');

    Install

    npm i broccoli-flow

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • alexlafroscia