1.0.1 • Published 9 years ago
require-project v1.0.1
This module is a simple addition to require() that allows for loading from a user's home path.
To use, simply add this to the top of the file:
require = require('require-project')(require);
Example:
require('Project:LibTest') => /Users/User/Projects/LibTest
All other strings not prefixed by "Project:" are sent to require() as-is.