{
 "kind": "tool",
 "slug": "node-forge",
 "path": "tools/node-forge/",
 "name": "Forge",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Auth and security libraries",
   "tools/auth-security/"
  ]
 ],
 "lead": "TLS, PKI, ciphers and message digests implemented in pure JavaScript.",
 "chips": [
  {
   "label": "Auth and security libraries",
   "path": "tools/auth-security/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install node-forge"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/digitalbazaar/forge"
  },
  {
   "label": "Website",
   "href": "https://github.com/digitalbazaar/forge"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "(BSD-3-Clause OR GPL-2.0)",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/digitalbazaar/forge"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 23, 2026",
   "note": "",
   "src": "https://github.com/digitalbazaar/forge"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "15 projects",
   "status": "info",
   "sub": "#36 of 141 in its category",
   "note": "Dependency in 15 public GitHub projects set up for AI coding agents that we scanned (0.2%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Forge does",
   "parts": [
    {
     "t": "prose",
     "text": "TLS, PKI, ciphers and message digests implemented in pure JavaScript."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Forge popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "65",
       "of": "/ 100",
       "l": "Gid Score, #688 overall"
      },
      {
       "n": "55.5M",
       "l": "downloads a week, npm"
      },
      {
       "n": "5,355",
       "l": "GitHub stars"
      },
      {
       "n": "15",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Forge is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Forge is a dependency in 15 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 39 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is crypto-js (32 projects).",
      "Projects that use it most often also use chalk (53.8%), jose (53.8%), Recharts (53.8%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "11 projects, 0.3%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "8 projects, 0.3%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "7 projects, 0.2%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 53.8% of its projects",
       "v": "chalk",
       "path": "tools/chalk/"
      },
      {
       "l": "In 53.8% of its projects",
       "v": "jose",
       "path": "tools/jose/"
      },
      {
       "l": "In 53.8% of its projects",
       "v": "Recharts",
       "path": "tools/recharts/"
      },
      {
       "l": "In 53.8% of its projects",
       "v": "undici",
       "path": "tools/undici/"
      },
      {
       "l": "In 61.5% of its projects",
       "v": "Next.js",
       "path": "tools/next/"
      },
      {
       "l": "In 82.1% of its projects",
       "v": "Tailwind CSS",
       "path": "tools/tailwindcss/"
      },
      {
       "l": "In 51.3% of its projects",
       "v": "Zustand",
       "path": "tools/zustand/"
      },
      {
       "l": "In 48.7% of its projects",
       "v": "XY Flow",
       "path": "tools/xyflow/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Forge",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Auth and security libraries",
       "path": "tools/auth-security/",
       "items": [
        {
         "text": "bcryptjs",
         "path": "tools/bcryptjs/"
        },
        {
         "text": "NextAuth.js",
         "path": "tools/next-auth/"
        },
        {
         "text": "jsonwebtoken",
         "path": "tools/jsonwebtoken/"
        },
        {
         "text": "cryptography",
         "path": "tools/cryptography/"
        },
        {
         "text": "PyJWT",
         "path": "tools/pyjwt/"
        },
        {
         "text": "jose",
         "path": "tools/jose/"
        },
        {
         "text": "Better Auth",
         "path": "tools/better-auth/"
        },
        {
         "text": "DOMPurify",
         "path": "tools/dompurify/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Forge",
       "me": true,
       "facts": [
        "(BSD-3-Clause OR GPL-2.0)",
        "Gid 65",
        "55.5M/wk"
       ]
      },
      {
       "name": "crypto-js",
       "why": "JavaScript library implementing cryptographic standards for encryption and hashing.",
       "path": "tools/crypto-js/",
       "facts": [
        "MIT",
        "Gid 73",
        "28.1M/wk"
       ]
      }
     ],
     "more": "Compare Forge with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install node-forge"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Forge yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm node-forge"
  ],
  [
   "Category",
   "Auth and security libraries"
  ],
  [
   "License",
   "(BSD-3-Clause OR GPL-2.0)"
  ],
  [
   "Gid Score",
   "64.8"
  ],
  [
   "Rank in category",
   "#36 of 141"
  ],
  [
   "GitHub",
   "digitalbazaar/forge"
  ],
  [
   "Last change",
   "Nov 23, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/digitalbazaar.png"
}