Non-persistent in-memory adapter for Sails.js / Waterline
Last updated 2 months ago by justin-td .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @traverse-data/sails-memory 
SYNC missed versions from official npm registry.



An in-memory object store which works great as a bundled, starter database (with the strict caveat that it is for non-production use only).

NOTE: This version does not store objects in memory unless explicitly set via the SAILS_MEMORY_STORE environment variable.

(OPTIONAL) Environment Variables:

SAILS_MEMORY_STORE: 'true' - will enable the storage of created objects in local memory. Otherwise the object is transient in nature.

This adapter is compatible with Sails v0.12.x and earlier.

For Sails 1.0, use sails-disk with the inMemoryOnly option. If you’re interested in upgrading the traditional, standalone sails-memory adapter in this repo for use with Sails 1.0, please contact us.

About Sails.js


About Waterline

Waterline is a new kind of storage and retrieval engine. It provides a uniform API for accessing stuff from different kinds of databases, protocols, and 3rd party APIs. That means you write the same code to get users, whether they live in mySQL, LDAP, MongoDB, or Facebook.

githalytics.com alpha

Current Tags

  • 0.10.10                                ...           latest (2 months ago)

3 Versions

  • 0.10.10                                ...           2 months ago
  • 0.10.9                                ...           2 months ago
  • 0.10.8                                ...           2 months ago
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (2)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |