asn1
npmv0.2.6Contains parsers and serializers for ASN.1 (currently BER only)
Not recommended for new projects
No — asn1 should not be adopted for new projects. Last published 1771 days ago.
- AAdoption: grade A, Excellent.
28.2M downloads per week and 1 known dependents.
- FMaintenance: grade F, Failing.
Last published 1771 days ago.
- AWeight: grade A, Excellent.
Pulls in 1 transitive package, about 61 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 12 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding asn1 to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Licenses in the dependency tree
Every license you inherit by installing asn1, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- No constraint declared
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- None
Dependencies
Declared by asn1 v0.2.6. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (1)
Dev (5)
Used by
Popular packages that depend on asn1.
Relationship graph
Dependencies (left) and dependents (right) of asn1.
Frequently installed together
Modern Buffer API polyfill without footguns
Port of TweetNaCl cryptographic library to JavaScript
getpass for node.js
The jsbn library is a fast, portable implementation of large-number math in pure JavaScript, enabling public-key crypto and other applications on desktop and mobile browsers.
Port of the OpenBSD bcrypt_pbkdf function to pure JS
A light, featureful and explicit option parsing library.
ECC JS code based on JSBN
Extra assertions on top of node's assert module
Release history
No releases in the last two years, typically about 4 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 0.2.6latest | 4 years ago | 19 KB | MIT |
| 0.2.4 | 8 years ago | 18 KB | MIT |
| 0.2.3 | 11 years ago | — | MIT |
| 0.2.2 | 12 years ago | — | MIT |
| 0.2.1 | 12 years ago | — | MIT |
| 0.2.0 | 12 years ago | — | MIT |
| 0.1.11 | 14 years ago | — | MIT |
| 0.1.5 | 14 years ago | — | MIT |
| 0.1.2 | 14 years ago | — | MIT |
| 0.1.6 | 14 years ago | — | MIT |
| 0.1.7 | 14 years ago | — | MIT |
| 0.1.10 | 14 years ago | — | MIT |
| 0.1.1 | 14 years ago | — | MIT |
| 0.1.0 | 14 years ago | — | MIT |
| 0.1.4 | 14 years ago | — | MIT |
Overview
asn1 is an npm package that contains parsers and serializers for ASN.1 (currently BER only). It is extremely widely used, with about 28.2M downloads per week and 1 known dependents in the graph. The latest version is 0.2.6, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need contains parsers and serializers for ASN.1 (currently BER only) and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (28.2M weekly downloads).
- Clear open-source license (MIT).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use asn1?
No — asn1 should not be adopted for new projects. Last published 1771 days ago.
How do I install asn1?
Run `npm install asn1` to add asn1 to your npm project.
How many dependencies does asn1 have?
asn1 declares 6 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 61 KB on disk.
What license is asn1 released under?
asn1 is distributed under the MIT license.
How popular is asn1?
asn1 has approximately 28,195,292 downloads per week and 1 known dependent packages.
Is asn1 still maintained?
The most recent release of asn1 (v0.2.6) was published 4 years ago.
Does asn1 run install scripts?
No. asn1 does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.