</>PackageGraphPackageGraph

jsbn

npmv1.1.0

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.

Not recommended for new projects

No — jsbn should not be adopted for new projects. Last published 3495 days ago.

  • AAdoption: grade A, Excellent.

    14.5M downloads per week and 2 known dependents.

  • FMaintenance: grade F, Failing.

    Last published 3495 days ago.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • 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 jsbn to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

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

Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
No constraint declared
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

jsbn vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
jsbnthis page14.5M2MIT9 years ago
decimal.js01MIT1 day ago
big-integer01Unlicense1 day ago
is-bigint01MIT1 day ago
node-int6401MIT1 day ago

Used by

Popular packages that depend on jsbn.

Relationship graph

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

sshpkecc-jsbnjsbn
jsbn dependencies dependents

Frequently installed together

Release history

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

Recent versions of jsbn
VersionPublishedSizeLicense
1.1.0latest9 years agoMIT
0.1.19 years agoMIT
0.1.011 years agoBSD
0.0.013 years agoBSD

Overview

jsbn is an npm package that 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. It is extremely widely used, with about 14.5M downloads per week and 2 known dependents in the graph. The latest version is 1.1.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need 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 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 (14.5M weekly downloads).
  • Clear open-source license (MIT).
  • Zero runtime dependencies — minimal footprint.

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use jsbn?

No — jsbn should not be adopted for new projects. Last published 3495 days ago.

How do I install jsbn?

Run `npm install jsbn` to add jsbn to your npm project.

What license is jsbn released under?

jsbn is distributed under the MIT license.

How popular is jsbn?

jsbn has approximately 14,450,124 downloads per week and 2 known dependent packages.

Is jsbn still maintained?

The most recent release of jsbn (v1.1.0) was published 9 years ago.

Does jsbn run install scripts?

No. jsbn does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.