Skip to content
JS
Package

asn1.js

ASN.1 encoder and decoder

v5.4.1, 18 Jun 2020MITCommonJSTypes: None
$ npm install asn1.js

Key numbers

As of 25 Sept 2026
Weekly downloads
21.3m
+70% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
6 years ago
v5.4.1
GitHub stars
190
66 forks
Open issues / PRs
26 / 17
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30mSept 2025Mar 2026Sept 2026High 25.2m (25 Aug 2026)Low 6.4m (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.

21,304,225 downloads last week, 90,006,717 in the last month. The 12-month change of +70% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
071 in total
Latest version
5.4.1, 18 Jun 20206 years ago
First published
1 Dec 2013
Last push to GitHub
15 Jun 2024831 days before the snapshot
Repository archived
No
Open issues
26
Open pull requests
17
Commits, last 52 weeks
0
Dependents on npm
585

Major versions

  1. v5 first release 5.0.0, 1 Nov 2017
  2. v4 first release 4.0.0, 28 Oct 2015
  3. v3 first release 3.0.0, 23 Oct 2015
  4. v2 first release 2.0.0, 19 May 2015
  5. v1 first release 1.0.0, 5 Jan 2015
  6. v0 first release 0.1.0, 1 Dec 2013

Recent releases

VersionPublished
5.4.118 Jun 2020
5.4.018 Jun 2020
5.3.06 Jan 2020
5.2.026 Jun 2019
5.1.119 Jun 2019
5.1.015 Jun 2019
5.0.130 May 2018
4.10.113 Feb 2018
5.0.01 Nov 2017
4.9.231 Oct 2017
4.9.127 Dec 2016
4.9.07 Nov 2016
4.8.119 Sept 2016
4.8.011 Jul 2016
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
49 kB
Dependencies (4)
bn.jsinheritssafer-bufferminimalistic-assert
npm install asn1.js

CDN

jsDelivr: 103.8k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/asn1.js@5.4.1/
  • unpkghttps://unpkg.com/asn1.js@5.4.1/
  • esm.shhttps://esm.sh/asn1.js@5.4.1
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

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