node-mithril-storage
Node implementation of mithril-storage.
How to install
You can install this package using npm.
npm install node-mithril-storage
How to use it
var mx = ;var storage = mx;// same as// var storage = mx.storage(mx.DEFAULT_STORAGE_NAME, mx.DEFAULT_STORAGE); // Add the object to storagestorage; // Get the object from storage.var test = storage; // Remove the key from storagestorage;
Available storage types
mxLOCAL_STORAGE // [DEFAULT_STORAGE]mxIN_MEMORY_STORAGE