sails-hook-annotations
v1.1.2
Published
Add annotations support for Sails.js applications
Downloads
178
Maintainers
Readme
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
};