plasma
Load data from globs or files or directly from objects.
Install with npm
$ npm i plasma --save
Other projects
- config-cache: General purpose JavaScript object storage methods.
- cache-base: Generic object cache for node.js/javascript projects.
- map-cache: Basic cache object for storing key-value pairs.
- option-cache: Simple API for managing options in JavaScript applications.
- plasma-cache: Object cache for [Plasma].
Usage
Create an instance of Plasma
, optionally passing an object of data
to initialize with.
Params
Example
var Plasma = require('plasma');
var plasma = new Plasma();
plasma.load(['*.json', 'data/*.yml']);
plasma.load({a: 'b', c: 'd'});
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Running tests
Install dev dependencies:
$ npm i -d && npm test
Author
Jon Schlinkert
License
Copyright © 2014-2015 Jon Schlinkert
Released under the MIT license.
This file was generated by verb-cli on June 01, 2015.