
Security News
Official Go SDK for MCP in Development, Stable Release Expected in August
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
node-localcache
Advanced tools
Module, allows to save application data between launches in json data file. Api most liked as LocalStorage API
var LocalCache = require('node-localcache');
cache = new LocalCache('.cache/filetocache.json');
cache.setItem('key', 'value');
cache.getItem('key'); // value
new LocalCache(fileName, skipFileCaching);
fileName
- (optional with skipFileCaching
: true
) Path to cache file, also used as store id
skipFileCaching
- (optional) disable file cache, default false
All manipulation agregating and applying 1 time per second. But, don't panic, on nodejs exit, everything will be saved into file.
FAQs
LocalStorage with optional json file cache
The npm package node-localcache receives a total of 3,742 weekly downloads. As such, node-localcache popularity was classified as popular.
We found that node-localcache demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.