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
    }
    //..
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.3
    18
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.3
    18
  • 0.1.2
    0
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i sails-hook-must

Weekly Downloads

5

Version

0.1.3

License

MIT

Last publish

Collaborators

  • cludden