1.0.10 • Published 5 years ago

kc-rwalk v1.0.10

Weekly downloads
-
License
ISC
Repository
github
Last release
5 years ago

RWalk (Node only)

Require modules in path. Modules must be on their own folder and must have the folder's name.

Returns an object with the modules.

For example: my_path/module1/module1.js my_path/module2/module2.js

Install

npm install kc-rwalk

Use

var rwalk = require('kc-rwalk');
var mods = rwalk('my-dir');
console.log(mods);

// Exec
mods.mod1();
1.0.10

5 years ago

1.0.9

5 years ago