0.0.0 • Published 3 years ago

goload v0.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
3 years ago

goload

auto-loads node modules marked as managed folders

Getting Strated

goload requires confyg which is a node package that reads configurations from a config folder in your projects root directory. you can install it by running npm i confyg. once installed follow the below steps:

  1. create a file at: your-project/config/default.yaml
autoload:
  - controllers
  - router
  1. npm i goload
  2. then autoload file like in the example below:
const autoloader  = require('goload')
const { router } = autoloader()
const allModules = autoloader()