Skip to content
JS
Package

value-or-promise

A thenable to streamline a possibly sync / possibly async workflow.

v1.0.12, 3 Jan 2023MITESM + CommonJSTypes: Bundled
$ npm install value-or-promise

Key numbers

As of 25 Sept 2026
Weekly downloads
4.6m
-13% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 years ago
v1.0.12
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
02.5m5m7.5m10mSept 2025Mar 2026Sept 2026High 8m (5 May 2026)Low 2.9m (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.

4,630,984 downloads last week, 22,618,645 in the last month. The 12-month change of -13% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
013 in total
Latest version
1.0.12, 3 Jan 20233 years ago
First published
26 Apr 2021
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v1 first release 1.0.0, 26 Apr 2021

Recent releases

VersionPublished
1.0.123 Jan 2023
1.0.1130 Sept 2021
1.0.1029 May 2021
1.0.928 May 2021
1.0.87 May 2021
1.0.74 May 2021
1.0.630 Apr 2021
1.0.527 Apr 2021
1.0.427 Apr 2021
1.0.327 Apr 2021
1.0.227 Apr 2021
1.0.126 Apr 2021
1.0.026 Apr 2021
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=12
Runtimes
-
Unpacked size (npm)
30 kB
Dependencies (0)
None
npm install value-or-promise
  • jsDelivrhttps://cdn.jsdelivr.net/npm/value-or-promise@1.0.12/
  • unpkghttps://unpkg.com/value-or-promise@1.0.12/
  • esm.shhttps://esm.sh/value-or-promise@1.0.12
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.