Socket
Socket
Sign inDemoInstall

moder

Package Overview
Dependencies
2
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    moder

Module loader


Version published
Weekly downloads
1
decreased by-97.22%
Maintainers
1
Install size
22.0 kB
Created
Weekly downloads
 

Readme

Source

moder

Build Status

Module loader

Installation

npm install moder

Usage

Example directory structure

models
├── index.js
├── user.js
└── blog.js

In index.js

module.exports = require('moder')(__dirname);

Models will automatically loaded

var models = require('./models');
models.user == require('./models/user');

License

MIT

Keywords

FAQs

Last updated on 05 Aug 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc