</>PackageGraphPackageGraph

toad-cache

npmv3.7.4TypeScript

LRU and FIFO caches for Client or Server

Safe to adopt

Yes — toad-cache scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 68 days ago. 2 releases in the last 2 years.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • AMaintenance: grade A, Excellent.

    Last published 68 days ago. 2 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 50 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding toad-cache to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

50 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
node >=20
Module format
ESM + CommonJS
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the toad-cache README.

javascriptFull README ↗
import { Lru, Fifo } from 'toad-cache'
const lruCache = new Lru(max, ttl = 0)
const fifoCache = new Fifo(max, ttl = 0)

toad-cache vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
toad-cachethis page01MIT2 months ago
axios106.5M4MIT1 day ago
mysql210.5M3MIT1 day ago
isarray174.9M3MIT1 day ago
file-entry-cache134.5M1MIT1 day ago
open130.4M4MIT1 day ago

Dependencies

Declared by toad-cache v3.7.4. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (9)

@biomejs/biome ^2.5.2@vitest/coverage-v8 ^4.1.9auto-changelog ^2.6.0del-cli ^7.0.0precise ^5.0.1rollup ^4.62.2tsd ^0.33.0typescript ~6.0.3vitest ^4.1.9

Used by

Popular packages that depend on toad-cache.

Relationship graph

Dependencies (left) and dependents (right) of toad-cache.

fastifytoad-cache
toad-cache dependencies dependents

Frequently installed together

Release history

2 releases in the last two years, typically about 0 days apart.

Recent versions of toad-cache
VersionPublishedSizeLicense
3.7.4latest2 months ago50 KBMIT
3.7.13 months ago48 KBMIT
3.7.02 years ago48 KBMIT
3.6.02 years ago48 KBMIT
3.5.02 years ago46 KBMIT
3.4.12 years ago44 KBMIT
3.4.02 years ago44 KBMIT
3.3.12 years ago43 KBMIT
3.3.1-RC72 years ago43 KBMIT
3.3.1-RC62 years ago43 KBMIT
3.3.1-RC52 years ago43 KBMIT
3.3.1-RC42 years ago43 KBMIT
3.3.1-RC32 years ago40 KBMIT
3.3.1-RC22 years ago40 KBMIT
3.3.1-RC12 years ago40 KBMIT

Overview

toad-cache is an npm package that lRU and FIFO caches for Client or Server. It has 1 known dependents in the graph. The latest version is 3.7.4, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need lRU and FIFO caches for Client or Server and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use toad-cache?

Yes — toad-cache scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 68 days ago. 2 releases in the last 2 years.

How do I install toad-cache?

Run `npm install toad-cache` to add toad-cache to your npm project.

What license is toad-cache released under?

toad-cache is distributed under the MIT license.

How popular is toad-cache?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on toad-cache.

Is toad-cache still maintained?

The most recent release of toad-cache (v3.7.4) was published 2 months ago.

Does toad-cache run install scripts?

No. toad-cache does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.