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
 
};
 

Package Sidebar

Install

npm i sails-hook-annotations

Weekly Downloads

28

Version

1.1.2

License

MIT

Last publish

Collaborators

  • kos