Skip to content
/ r2load Public

Node.js autoloader for files, folders, and modules

License

Notifications You must be signed in to change notification settings

r2js/r2load

Repository files navigation

r2load

r2load is a Node.js autoloader for your files, folders, and modules


Usage

const r2load = require('r2load');
const loader = r2load();
const app = {};
loader
  .load('model')
  .load('controller')
  .load('service')
  .into(app);

/*
{
  services: {
    'model/users': ...,
    'controller/users': ...,
    'service/users': ...,
  }
}
*/

Installation

$ npm install r2load

About

Node.js autoloader for files, folders, and modules

Resources

License

Stars

Watchers

Forks

Packages

No packages published