node-forge
npmv1.4.0JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.
Safe to adopt
Yes — node-forge scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 169 days ago. 3 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- BMaintenance: grade B, Good.
Last published 169 days ago. 3 releases in the last 2 years.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 1.6 MB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 3 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
(BSD-3-Clause OR GPL-2.0) — 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 node-forge 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.
Compatibility
- Node.js
- node >= 6.13.0
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- None
Quick start
A usage example from the node-forge README.
var forge = require('node-forge');node-forge vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| node-forgethis page | 0 | 5 | (BSD-3-Clause OR GPL-2.0) | 5 months ago |
| @noble/hashes | 59.6M | 1 | MIT | 1 day ago |
| undici | 158.5M | 15 | MIT | 1 day ago |
| follow-redirects | 91.6M | 2 | MIT | 1 day ago |
| tweetnacl | 32.2M | 2 | Unlicense | 1 day ago |
| @mswjs/interceptors | 20.3M | 1 | MIT | 1 day ago |
Dependencies
Declared by node-forge v1.4.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (27)
Used by
Popular packages that depend on node-forge.
An HTTP/1.1 client, written from scratch for Node.js
Fast and low overhead web framework, for Node.js
Universal Server.
The Expo CLI
A library for working with expo-updates code signing certificates
Relationship graph
Dependencies (left) and dependents (right) of node-forge.
Frequently installed together
TypeScript definitions for node
Expo Router is a file-based router for React Native and web applications.
The Expo SDK
The semantic version parser used by npm.
An HTTP/1.1 client, written from scratch for Node.js
TypeScript-first schema declaration and validation library with static type inference
Better streaming static file server with Range and conditional-GET support
Create clickable links in the terminal
A library for interacting with the app.json
Best-effort discovery of the machine's default gateway and local network IP exclusively with UDP sockets.
Lightweight debugging utility for Node.js and the browser
A high-level API to automate web browsers
Release history
3 releases in the last two years, typically about 23 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 1.4.0latest | 5 months ago | 1.6 MB | (BSD-3-Clause OR GPL-2.0) |
| 1.3.3 | 9 months ago | 1.6 MB | (BSD-3-Clause OR GPL-2.0) |
| 1.3.2 | 9 months ago | 1.6 MB | (BSD-3-Clause OR GPL-2.0) |
| 1.3.1 | 4 years ago | 1.6 MB | (BSD-3-Clause OR GPL-2.0) |
| 1.3.0 | 4 years ago | 1.6 MB | (BSD-3-Clause OR GPL-2.0) |
| 1.2.1 | 4 years ago | 1.6 MB | (BSD-3-Clause OR GPL-2.0) |
| 1.2.0 | 4 years ago | 1.6 MB | (BSD-3-Clause OR GPL-2.0) |
| 1.1.0 | 4 years ago | 1.6 MB | (BSD-3-Clause OR GPL-2.0) |
| 1.0.0 | 4 years ago | 1.6 MB | (BSD-3-Clause OR GPL-2.0) |
| 0.10.0 | 6 years ago | 1.6 MB | (BSD-3-Clause OR GPL-2.0) |
| 0.9.2 | 6 years ago | 1.6 MB | (BSD-3-Clause OR GPL-2.0) |
| 0.9.1 | 7 years ago | 1.6 MB | (BSD-3-Clause OR GPL-2.0) |
| 0.9.0 | 7 years ago | 1.6 MB | (BSD-3-Clause OR GPL-2.0) |
| 0.8.5 | 7 years ago | 1.6 MB | (BSD-3-Clause OR GPL-2.0) |
| 0.8.4 | 7 years ago | 1.6 MB | (BSD-3-Clause OR GPL-2.0) |
Overview
node-forge is an npm package that javaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities. It has 5 known dependents in the graph. The latest version is 1.4.0, released under the (BSD-3-Clause OR GPL-2.0) license.
Who should use it
Teams working in the npm ecosystem who need javaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license ((BSD-3-Clause OR GPL-2.0)).
Cons
- Large dependency tree (27 direct dependencies) increases install size and audit surface.
- 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 node-forge?
Yes — node-forge scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 169 days ago. 3 releases in the last 2 years.
How do I install node-forge?
Run `npm install node-forge` to add node-forge to your npm project.
What license is node-forge released under?
node-forge is distributed under the (BSD-3-Clause OR GPL-2.0) license.
How popular is node-forge?
npm does not publish download counts. Within PackageGraph's crawl, 5 known packages depend on node-forge.
Is node-forge still maintained?
The most recent release of node-forge (v1.4.0) was published 5 months ago.
Does node-forge run install scripts?
No. node-forge does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.