1.0.0 • Published 7 years ago

sequelize-models-charger v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

sequelize-models-charger

A module for charger the models of sequelize.

Installation

This package is available via npm, exectute the simple command:

npm install sequelize-models-charger

Usage

This module is a simple function, see an example of use:

const modelsCharger = require('sequelize-models-charger')
const models = modelsCharger(path.join(__dirname, 'your-path-models'), { sequelize })

For more documentation see the file index.js.

Test

Execute the command npm test for test the package with mocha.