npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

r2load

1.0.10 • Public • Published

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

install

npm i r2load

Downloadsweekly downloads

5

version

1.0.10

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability