Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/konstantinzolotarev/sails-hook-annotations
Sails.js annotations support
https://github.com/konstantinzolotarev/sails-hook-annotations
Last synced: about 1 month ago
JSON representation
Sails.js annotations support
- Host: GitHub
- URL: https://github.com/konstantinzolotarev/sails-hook-annotations
- Owner: konstantinzolotarev
- License: mit
- Created: 2015-06-19T11:35:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-10T13:48:32.000Z (over 9 years ago)
- Last Synced: 2024-09-18T00:03:40.349Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 142 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
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:
+ [Route](docs/Route.md)
+ [Policy](docs/Policy.md)### Installation
Just use simple command:
`npm install --save sails-hook-annotations`### Configuration
```javascript
module.exports.annotations = {
policy: false, // Will disable @Policy annotation
route: false // Will disable @Route annotation
};
```