moleculer-require-dir

1.0.2 • Public • Published

moleculer-require-dir

because moleculer-runner doesn't active hot-reload when use with require-dir so I made this

npm i moleculer-require-dir --save
const requireDir = require('moleculer-require-dir')
console.log(requireDir('./folders', {
  recurse: true,
  camelCase: true
}))
  • Options

    recurse: load all children dirs

    camelCase: convert this-name_type to thisNameType

  • Author

0x0a0d

have funs

Readme

Keywords

Package Sidebar

Install

npm i moleculer-require-dir

Weekly Downloads

7

Version

1.0.2

License

ISC

Unpacked Size

2.62 kB

Total Files

5

Last publish

Collaborators

  • 0x0a0d