</>PackageGraphPackageGraph

asn1

npmv0.2.6

Contains 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.

1
Direct dependencies

Runtime packages this one declares itself.

1
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

61 KB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

MIT

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.

Dev (5)

eslint 2.13.1eslint-plugin-joyent ~1.3.0faucet 0.0.1istanbul ^0.3.6tape ^3.5.0

Used by

Popular packages that depend on asn1.

Relationship graph

Dependencies (left) and dependents (right) of asn1.

safer-buffersshpkasn1
asn1 dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 4 days apart.

Recent versions of asn1
VersionPublishedSizeLicense
0.2.6latest4 years ago19 KBMIT
0.2.48 years ago18 KBMIT
0.2.311 years agoMIT
0.2.212 years agoMIT
0.2.112 years agoMIT
0.2.012 years agoMIT
0.1.1114 years agoMIT
0.1.514 years agoMIT
0.1.214 years agoMIT
0.1.614 years agoMIT
0.1.714 years agoMIT
0.1.1014 years agoMIT
0.1.114 years agoMIT
0.1.014 years agoMIT
0.1.414 years agoMIT

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.

Maintainers

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.