require-component

Require component and npm modules

npm install require-component
106 downloads in the last day
454 downloads in the last week
1 576 downloads in the last month

require-component

Require component and npm modules

Installation

$ component install camshaft/require-component

API

// Wrap require
require = require('require-component')(require);

// Works in component and npm environments
var each = require('each');

You can also specify the npm fallback:

var each = require('each', 'my-npm-each-implementation');

License

MIT

npm loves you