Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 330 Bytes

File metadata and controls

28 lines (18 loc) · 330 Bytes

node-include

Require local files relative to the path provided at require.

install

npm install include

usage

var include = require('include')(__dirname);

without include

var foo = require('../../../path/to/foo');

with include

var foo = include('path/to/foo');

license

MIT