0.0.3 • Published 10 years ago

require-mapper v0.0.3

Weekly downloads
6
License
-
Repository
github
Last release
10 years ago

require-mapper

Usage

Just map your modules

And then...

Load your module using the map's keys like that:

Customize on initial phase (optional)

  • methodname - The method name to be used for require the modules
  • basepath - The base path for resolving the modules
  • data - The modules map

By default the base path set to "."

Then, you can optionally map additional modules