@nodulus/cache

[![NPM](https://nodei.co/npm/@nodulus/cache.png)](https://npmjs.org/package/@nodulus/cache)

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
20May 6, 2017Jul 10, 2016Minified + gzip package size for @nodulus/cache in KB

Readme

@nodulus/cache

NPM

Alt text Alt text

cache component for nodulus.

install

npm install @nodulus/cache

usage


var cache=require("@nodulus/cache");

public get(collection_name: string, array_of_keys:[string] || single_key:string, asObject: boolean)

 let result = await cache.get("my-collection", "12345678", false);
 

public getCollection(collection_name: string, asObject: boolean)

  let result = await cache.get("my-collection", false);
 

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.