warbrett / dog-models

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dog-models

Allows you to specify a directory pushing the exports of each file to an array. Useful for waterline models with dogwater.

Usage

var models = require('dog-models')(__dirname + '/models');

...
// inside dogwater options object
  models: models
...


About

License:MIT License


Languages

Language:JavaScript 100.0%