Utils
- sails-hook-autoreload
Sails JS hook to autoreload controllers, models, services and locales when changed. This hook is to help with situations where you are rapidly prototyping/tinkering with app code and don't want to have to keep quitting/restarting Sails to see your changes. It is not intended to be used in a production environment.
API
-
API Blueprint. A powerful high-level API description language for web APIs.
-
The Apiary Editor is the foundation of your API design. Apiary Editor supports API Blueprint and Swagger API Description languages.
-
Yeoman generator for scaffolding Sails REST API with predefined features.
-
Short id generator. Url-friendly. Non-predictable. Cluster-compatible.
-
Adds blueprint api method to count records in database.
-
RSS feed generator. Add RSS feeds to any project. Supports enclosures and GeoRSS.
Models
-
Custom validation error messages for sails model with i18n support.
-
Additional model methods for sails. The following methods will be added to all models once hook is installed.
countAndFind(criteria, callback)
countAndSearch(searchTerm, callback)
first(howMany, callback)
last(howMany, callback)
search(searchTerm, callback)
softDelete(criteria, callback)
Security
-
Comprehensive user permissions and entitlements system for sails.js and Waterline. Supports user authentication with passport.js, role-based permissioning, object ownership, and row-level security.
-
Sails hook to ensure requests can only come in from a whitelisted set of hosts. Works with both hosts and IP adresses.
Seeding
- sails-hook-fixtures
Installable hook that injects fixtures into your sails ORM at runtime. With associations!
Logging
-
Use events to manage and observe Waterline models' lifecycle This hook allows you to use event-driven programming when working with your Waterline models. It adds new events emitted from your Sails.js instance that you can subscribe to and perform actions when such an event is emitted.
-
A multi-transport async logging library for node.js.
-
Integrates winston logging system with your Sails application.
Plugins
- marlinspike
Superpowers for your Sails.js Hooks. Makes it easy to build and maintain Sails Hooks as separate projects. Magically extend Sails apps with additional Model, Controllers, Services.
Analytics
- sails-hook-apianalytics
A Sails hook for logging detailed request metadata and monitoring your API.