You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

cache-cow

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cache-cow

![alt text][logo] [logo]: http://www.imagemagick.org/Usage/color_basics/cow.gif "Cache-cow" an orm for key value stoes

0.0.1-rc
latest
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

#Cache-cow ![alt text][logo] [logo]: http://www.imagemagick.org/Usage/color_basics/cow.gif "Cache-cow" an orm for key value stoes

Cache cow simplifies managing key value stores abstracting away caching from the application logic currently supported key value stores are

  • Local(lru-cache)
  • Redis

cachecow allows for asynchronous call to cache using promises .built over known and proven libraries it is a battle hardened library being used at monkeypatched.

you need to set the process.env.CONFIG_PATH variable to give the location from which the configurations will be read otherwise cache cow will use the defaults

defaults for local(lru cache) are

{ lru:{ options : { max: 500, maxAge: 1000 * 60 * 60 } } }

defaults for redis are

{ redis:{ options : { server: 'localhost', secretKey: 'SeekQret-CutDev', port: 6379, db: 1 } } }

we are actively adding more features to the library and will inform you of new releases as and when they are made

Keywords

redis

FAQs

Package last updated on 25 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts