multi-require
v0.0.1
Published
require a folder, resolving name, validation supported
Downloads
3
Readme
multi-require
Usage
multi = require('multi-require')
something = multi(path,[filter],[transformer])
- path:string
folder that is needed to import, absolute path is prefred
- filter:(required-object) -> true/false
function to filter that only specified object is required
- trasformer:(old-name-without-extension) -> new-name
function to rename object