New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

temporary-cache-manager

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

temporary-cache-manager

Temporary cache manager is in memory caching management system where data is cached in heap memory

latest
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

Temporary cache manager is in memory caching management system where data is cached in heap memory. Maximum data that can be cached is provided in bytes and LRU approach is used to manage data overflow. Backup can be attached for every key that will be used in case its value is flushed out.

To start using caching , install the module and initialize the manager by creating new instance and passing size limit in bytes as parameter:-

var temporary_cache_manager = require('temporary-cache-manager') var cache = temporary_cache_manager.cache; var limit = 50; var mycache = new cache(limit);

You need to register every key that you will be using in your project.

mycache.

FAQs

Package last updated on 26 Apr 2017

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