{
 "kind": "tool",
 "slug": "cyclonedx-cyclonedx-npm",
 "path": "tools/cyclonedx-cyclonedx-npm/",
 "name": "CycloneDX for npm",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Auth and security libraries",
   "tools/auth-security/"
  ]
 ],
 "lead": "Creates a CycloneDX software bill of materials (SBOM) for npm projects.",
 "chips": [
  {
   "label": "Auth and security libraries",
   "path": "tools/auth-security/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install @cyclonedx/cyclonedx-npm"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/CycloneDX/cyclonedx-node-npm"
  },
  {
   "label": "Website",
   "href": "https://github.com/CycloneDX/cyclonedx-node-npm#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache-2.0",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/CycloneDX/cyclonedx-node-npm"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 14, 2026",
   "note": "Latest GitHub release Nov 13, 2026. ",
   "src": "https://github.com/CycloneDX/cyclonedx-node-npm"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "11 projects",
   "status": "info",
   "sub": "#48 of 140 in its category",
   "note": "Dependency in 11 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 CycloneDX for npm does",
   "parts": [
    {
     "t": "prose",
     "text": "Creates a CycloneDX software bill of materials (SBOM) for npm projects."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "CycloneDX for npm popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "38",
       "of": "/ 100",
       "l": "Gid Score, #3222 overall"
      },
      {
       "n": "684K",
       "l": "downloads a week, npm"
      },
      {
       "n": "152",
       "l": "GitHub stars"
      },
      {
       "n": "11",
       "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 CycloneDX for npm is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "CycloneDX for npm is a dependency in 11 of the 6,254 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,063, Ethereum and EVM 1,777, 3D and games 3,120, agent frameworks and SDKs 13,629); counting those, it appears in 27 projects, and what it is used with below comes from all of them.",
      "Projects that use it most often also use Playwright (JavaScript) (92.6%), Vitest (92.6%), axe-core Playwright (88.9%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "10 projects, 0.3%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "8 projects, 0.2%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "6 projects, 1.3%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 92.6% of its projects",
       "v": "Playwright (JavaScript)",
       "path": "tools/playwright-test/"
      },
      {
       "l": "In 92.6% of its projects",
       "v": "Vitest",
       "path": "tools/vitest/"
      },
      {
       "l": "In 88.9% of its projects",
       "v": "axe-core Playwright",
       "path": "tools/axe-core-playwright/"
      },
      {
       "l": "In 88.9% of its projects",
       "v": "Prettier",
       "path": "tools/prettier/"
      },
      {
       "l": "In 88.9% of its projects",
       "v": "Vite",
       "path": "tools/vite/"
      },
      {
       "l": "In 85.2% of its projects",
       "v": "Knip",
       "path": "tools/knip/"
      },
      {
       "l": "In 81.5% of its projects",
       "v": "Testing Library",
       "path": "tools/testing-library/"
      },
      {
       "l": "In 81.5% of its projects",
       "v": "fast-check",
       "path": "tools/fast-check/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about CycloneDX for npm",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "Own page: https://owasp.org/donate/?reponame=www-project-cyclonedx&title=OWASP+CycloneDX"
       ]
      },
      {
       "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": "CycloneDX for npm",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 38",
        "684K/wk"
       ]
      }
     ],
     "more": "Compare CycloneDX for npm with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install @cyclonedx/cyclonedx-npm"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for CycloneDX for npm yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm @cyclonedx/cyclonedx-npm"
  ],
  [
   "Category",
   "Auth and security libraries"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "38.3"
  ],
  [
   "Rank in category",
   "#48 of 140"
  ],
  [
   "GitHub",
   "CycloneDX/cyclonedx-node-npm"
  ],
  [
   "Last change",
   "Nov 14, 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/cyclonedx.png"
}