Skip to content
JS
Package

tiny-invariant

A tiny invariant function

v1.3.3, 23 Feb 2024MITESM + CommonJSTypes: Bundled
$ npm install tiny-invariant

Key numbers

As of 25 Sept 2026
Weekly downloads
62.9m
+224% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 years ago
v1.3.3
GitHub stars
1.9k
49 forks
Open issues / PRs
13 / 10
Contributors
18
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
025m50m75m100mSept 2025Mar 2026Sept 2026High 86.6m (18 Aug 2026)Low 13.7m (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.

62,917,777 downloads last week, 305,229,191 in the last month. The 12-month change of +224% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
016 in total
Latest version
1.3.3, 23 Feb 20242 years ago
First published
17 Apr 2018
Last push to GitHub
25 Jul 2024792 days before the snapshot
Repository archived
No
Open issues
13
Open pull requests
10
Commits, last 52 weeks
0
Dependents on npm
8,246

Major versions

  1. v1 first release 1.0.0, 13 Aug 2018
  2. v0 first release 0.0.1, 17 Apr 2018

Recent releases

VersionPublished
1.3.323 Feb 2024
1.3.223 Feb 2024
1.3.128 Sept 2022
1.3.028 Sept 2022
1.2.031 Oct 2021
1.1.030 Jan 2020
1.0.615 Jul 2019
1.0.59 Jul 2019
1.0.427 Mar 2019
1.0.37 Nov 2018
1.0.229 Oct 2018
1.0.12 Oct 2018
1.0.013 Aug 2018
0.0.317 Apr 2018
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
14 kB
Dependencies (0)
None
npm install tiny-invariant

CDN

jsDelivr: 80.6k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/tiny-invariant@1.3.3/
  • unpkghttps://unpkg.com/tiny-invariant@1.3.3/
  • esm.shhttps://esm.sh/tiny-invariant@1.3.3
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.