Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
catbox-memory
Advanced tools
Memory adapter for catbox.
Lead Maintainer - Wyatt Preul
maxByteSize
- sets an upper limit on the number of bytes that can be stored in the
cache. Once this limit is reached no additional items will be added to the cache
until some expire. The utilized memory calculation is a rough approximation and must
not be relied on. Defaults to 104857600
(100MB).allowMixedContent
- by default, all data is cached as JSON strings, and converted
to an object using JSON.parse()
on retrieval. By setting this option to true
,
Buffer
data can be stored alongside the stringified data. Buffer
s are not
stringified, and are copied before storage to prevent the value from changing while
in the cache. Defaults to false
.Note: the maximum allowed value for ttl
is 2^31-1
, which is around 24.8 days.
FAQs
Memory adapter for catbox
The npm package catbox-memory receives a total of 27,409 weekly downloads. As such, catbox-memory popularity was classified as popular.
We found that catbox-memory demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.