Skip to content

nodexpertsdev/meteor-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodexpert:meteor-cache

Meteor wrapper for node-cache.

It allows you to store the values in cache on server same as the client side cache or session variables.

To install package

meteor add nodexpert:meteor-cache


How to use?

import MeteorCache from 'meteor/nodexpert:meteor-cache';

const cache = new MeteorCache(); //

To set the value in cache

cache.set('cahe-name', value)

To get value from cache

cache.get('cache-name')

To delete value from cache

cache.del('cache-name')

For demo run the example-app and go through it's README.md file.

For more features please go through https://www.npmjs.com/package/node-cache

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published