Skip to content

shamsazam/simplecaching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple Caching

A simple in memory cache in javascript without any external dependencies

Installation

$ npm install simplecaching

or if you are using yarn

$ yarn add simplecaching

Usage

var cache = require('simplecaching');
cache.set("name", "Peter", 5 * 60); // store it for 5 minutes
var name = cache.get("name");
console.log("name is ",name);

Prerequisites

  • NodeJS 6 or higher

About

A simple in memory cache in javascript

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published