Skip to content
JS
Package

global-cache

Sometimes you have to do horrible things, like use the global object to share a singleton. Abstract that away, with this!

v1.2.1, 20 Jul 2017MITCommonJSTypes: NoneCaching
$ npm install global-cache

Key numbers

As of 25 Sept 2026
Weekly downloads
356.6k
+17% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
9 years ago
v1.2.1
GitHub stars
19
4 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600k800kSept 2025Mar 2026Sept 2026High 615.4k (25 Aug 2026)Low 283.6k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

356,583 downloads last week, 1,965,735 in the last month. The 12-month change of +17% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
07 in total
Latest version
1.2.1, 20 Jul 20179 years ago
First published
2 Jul 2015
Last push to GitHub
30 Dec 2025269 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
1
Dependents on npm
8

Major versions

  1. v1 first release 1.0.0, 2 Jul 2015

Recent releases

VersionPublished
1.2.120 Jul 2017
1.2.06 Apr 2016
1.1.030 Jan 2016
1.0.320 Oct 2015
1.0.214 Oct 2015
1.0.112 Aug 2015
1.0.02 Jul 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 0.4
Runtimes
-
Unpacked size (npm)
-
Dependencies (2)
is-symboldefine-properties
npm install global-cache
  • jsDelivrhttps://cdn.jsdelivr.net/npm/global-cache@1.2.1/
  • unpkghttps://unpkg.com/global-cache@1.2.1/
  • esm.shhttps://esm.sh/global-cache@1.2.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.