UNPKG

generator-sails-rest-api

Version:

Yeoman generator that provides already configured and optimized Sails REST API with bundle of predefined features

22 lines (16 loc) 250 B
"use strict"; /** * <%= name %>Hook * Hook that ... */ module.exports = sails => { return { configure: () => true, defaults: config => config, initialize: cb => cb(), routes: { before: {}, after: {} } } };