sails-hook-helpers
Allow Sails to load machines from an `api/helpers` folder and load them as machines available under `sails.helpers`
Last updated 8 years ago by sgress454 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install sails-hook-helpers 
SYNC missed versions from official npm registry.

sails-hook-helpers

Sails JS hook to load files from the api/helpers folder and provide them as machines available under sails.helpers.

Installation

npm install sails-hook-helpers

Usage

requires at least sails >= 0.12

Create an api/actions helpers, then add Javascript files (ending in .js) in that folder or in subfolders.

Current Tags

  • 1.0.2                                ...           latest (8 years ago)

3 Versions

  • 1.0.2                                ...           8 years ago
  • 1.0.1                                ...           8 years ago
  • 1.0.0                                ...           8 years ago
Maintainers (1)
Downloads
Total 3
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE