Package
assert
The assert module from Node.js, for the browser.
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
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
- v2 first release 2.0.0, 12 May 2019
- v1 first release 1.0.0, 22 Nov 2013
- v0 first release 0.4.9, 30 Jun 2011
Recent releases
| Version | Published |
|---|---|
| 1.5.1 | 7 Sept 2023 |
| 2.1.0 | 7 Sept 2023 |
| 2.0.0 | 12 May 2019 |
| 1.5.0 | 8 May 2019 |
| 1.4.1 | 31 May 2016 |
| 1.4.0 | 18 May 2016 |
| 1.3.0 | 24 Dec 2014 |
| 1.2.0 | 21 Dec 2014 |
| 1.1.2 | 29 Aug 2014 |
| 1.1.1 | 7 Feb 2014 |
| 1.1.0 | 29 Dec 2013 |
| 1.0.3 | 20 Dec 2013 |
| 1.0.2 | 19 Dec 2013 |
| 1.0.1 | 18 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- jsDelivr
https://cdn.jsdelivr.net/npm/assert@2.1.0/ - unpkg
https://unpkg.com/assert@2.1.0/ - esm.sh
https://esm.sh/assert@2.1.0
Indexability: Indexed.