sails-hook-must

0.1.3 • Public • Published

sails-hook-must

a sails hook that replaces the default policy hook. This simply augments the default policy hook by auto-building any sails-must policies. For more info, see sails-must

Installing

Install via npm: npm install --save sails-hook-must

Disable the default policy hook:

// in .sailsrc
 
{
    //..
    "hooks": {
        "policies": false
    }
    //..
}

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i sails-hook-must

    Weekly Downloads

    5

    Version

    0.1.3

    License

    MIT

    Last publish

    Collaborators

    • cludden