broccoli-derequire

1.0.0 • Public • Published

broccoli-derequire

Build Status

Summary

Uses derequire to replace all occurances of a given token with another (require with _dereq_ by default).

Installation

npm install --save-dev broccoli-derequire

Usage

Files

var derequire = require('broccoli-derequire');

Documentation

derequire(inputTree, options)


options.patterns {Array}

A list of objects with from and to properties.


options.pattern {Object}

A single pattern with from and to properties.

ZOMG!!! TESTS?!?!!?

I know, right?

Running the tests:

npm install
npm test

License

This project is distributed under the MIT license.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    3
  • 0.1.0
    38
  • 0.0.1
    1

Package Sidebar

Install

npm i broccoli-derequire

Weekly Downloads

40

Version

1.0.0

License

MIT

Unpacked Size

8.66 kB

Total Files

12

Last publish

Collaborators

  • rwjblue
  • stefanpenner