prefixed-require

1.0.0 • Public • Published

prefixed-require

Require modules from a prefixed path.

Install

$ npm install prefixed-require

Usage

var handler = require('prefixed-require')('./handlers');
 
var helloHandler = handler('hello');

Tests

$ npm install
$ npm test

Build Status

Credits

License

The MIT License

Copyright (c) 2013 Jared Hanson <http://jaredhanson.net/>

Readme

Keywords

none

Package Sidebar

Install

npm i prefixed-require

Weekly Downloads

0

Version

1.0.0

License

none

Last publish

Collaborators

  • jaredhanson