Neanderthals Paint Mammals
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    sails-inject-modelspublic

    -inject-models

    NPM version Build status Dependency Status

    Install

    $ npm install sails-inject-models --save

    Usage

    e.g. with sails-permissions:

    // api/hooks/permissions.js
    module.exports = require('sails-permissions');

    The additional models User, Role, Permission, and Model will be initialized and available in the global namespace.

    License

    MIT

    Attribution

    Much of this implementation is adapted from:

    install

    npm i sails-inject-models

    Downloadsweekly downloads

    1

    version

    0.0.2

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar