require-deps
v1.0.1
Published
Generate require statements for dependencies
Downloads
6,853
Maintainers
Readme
require-deps ![Build Status](https://travis-ci.org/bendrucker/require-deps.svg?branch=master)
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