sails-hook-helpers
Allow Sails to load machines from an `api/helpers` folder and load them as machines available under `sails.helpers`
Last updated 10 years ago by sgress454 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (10 years ago)

3 Versions

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

Copyright 2013 - present © cnpmjs.org | Home |