sails-hook-annotations

1.1.2 • Public • Published

Sails hook annotations

Hook brings annotations support for Sails.js applications.

Please see docs folder for list of supported annotations and description.

Right now this hook supports this annotations:

Installation

Just use simple command: npm install --save sails-hook-annotations

Configuration

 
module.exports.annotations = {
 
  policy: false, // Will disable @Policy annotation
 
  route: false // Will disable @Route annotation
 
};
 

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.2
    84
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.2
    84
  • 1.1.1
    1
  • 1.1.0
    1
  • 1.0.1
    1

Package Sidebar

Install

npm i sails-hook-annotations

Weekly Downloads

54

Version

1.1.2

License

MIT

Last publish

Collaborators

  • kos