require-deps
v1.0.1
Published
Generate require statements for dependencies
Downloads
11,602
Maintainers
Readme
require-deps
Generate require statements for one or more dependencies
Install
$ npm install --save require-deps
Usage
var requireDeps = require('require-deps');
requireDeps('foo');
//=> require('foo');
requireDeps(['foo', 'bar']);
//=> require('foo');require('bar');
API
requireDeps(deps)
-> string
deps
Required
Type: string
/ array[string]
License
MIT © Ben Drucker