Skip to content
JS
Package

assert

The assert module from Node.js, for the browser.

v2.1.0, 7 Sept 2023MITCommonJSTypes: NoneNode.js utilities
$ npm install assert

Key numbers

As of 25 Sept 2026
Weekly downloads
15.8m
+21% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
5
Direct, from package.json
Last release
3 years ago
v2.1.0
GitHub stars
298
64 forks
Open issues / PRs
3 / 2
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15m20mSept 2025Mar 2026Sept 2026High 19m (18 Aug 2026)Low 6.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.

15,788,587 downloads last week, 68,774,839 in the last month. The 12-month change of +21% 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
2.1.0, 7 Sept 20233 years ago
First published
30 Jun 2011
Last push to GitHub
21 Dec 2024642 days before the snapshot
Repository archived
No
Open issues
3
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
3,557

Major versions

  1. v2 first release 2.0.0, 12 May 2019
  2. v1 first release 1.0.0, 22 Nov 2013
  3. v0 first release 0.4.9, 30 Jun 2011

Recent releases

VersionPublished
1.5.17 Sept 2023
2.1.07 Sept 2023
2.0.012 May 2019
1.5.08 May 2019
1.4.131 May 2016
1.4.018 May 2016
1.3.024 Dec 2014
1.2.021 Dec 2014
1.1.229 Aug 2014
1.1.17 Feb 2014
1.1.029 Dec 2013
1.0.320 Dec 2013
1.0.219 Dec 2013
1.0.118 Dec 2013
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
80 kB
Dependencies (5)
utilis-nancall-bindobject-isobject.assign
npm install assert
  • jsDelivrhttps://cdn.jsdelivr.net/npm/assert@2.1.0/
  • unpkghttps://unpkg.com/assert@2.1.0/
  • esm.shhttps://esm.sh/assert@2.1.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.