node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

stdlib

stdlib

Framework-agnostic subset of sails-stdlib.

This package contains a lighter-weight, framework-agnostic subset of sails-stdlib (a library of hand-picked modules recommended by the Sails core team).

Installation

npm install stdlib --save

Usage

var stdlib = require('stdlib');
var EmailAddresses = stdlib('gravatar'); // << just like doing `require('machinepack-emailaddresses');` 
var Gravatar = stdlib('gravatar'); // << just like doing `require('machinepack-gravatar');` 
var Mailgun = stdlib('mailgun'); // << just like doing `require('machinepack-mailgun');` 

Documentation

See sails-stdlib#Documentation.

Exclusions

The following machinepacks are not included in stdlib:

  • machinepack-sails
  • machinepack-sockets
  • machinepack-waterline
  • machinepack-reqres
  • machinepack-sessionauth

To use any of the additional packs above, install sails-stdlib._

FAQ

See sails-stdlib#FAQ.

License

MIT