0.1.0 • Published 9 years ago
store-cache v0.1.0
store-cache
Simple and flexible API for in-memory object cache store that have set, get, put, del, has and store methods. Inspired by
option-cache
,data-store
,map-cache
and more.
Install
npm i store-cache --save
npm test
Usage
For more use-cases see the tests
var StoreCache = require('store-cache')
var StoreCache = require('./index')
var app = new StoreCache()
app.set()
app.get()
app.put()
app.del()
app.has()
app.store()
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
But before doing anything, please read the CONTRIBUTING.md guidelines.