npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@lowlysre/icd-10-cm

v2.0.0

Published

ICD-10-CM (Clinical Modification) data for use in the US healthcare system

Readme

icd-10-cm

NPM Version Test sustainable-npm immutable releases

A data package containing the latest ICD-10 CM codes and descriptions, types included!

  • ⚡ Fast, lookups via dictionary of minified json
  • 🔒 Secure, a zero dependency package with provenance
  • ⚛️ Small, limited to CM (Clinical Modification) data and less than 1MB compressed
  • 🔏 Immutable, GitHub releases are locked and cannot be altered or replaced after publishing

Install

npm install @lowlysre/icd-10-cm

Usage

import getICD10Description, { normalizeICD10Code } from "@lowlysre/icd-10-cm";

// Lookups normalize dots, casing, and whitespace automatically
const description = getICD10Description("A00.0");
// "Cholera due to Vibrio cholerae 01, biovar cholerae"

// Handle missing codes by checking for undefined
const maybeDescription = getICD10Description("Z999");
if (!maybeDescription) {
  // fallback logic here
}

// You can normalize a code explicitly if you store normalized keys elsewhere
const normalized = normalizeICD10Code(" a00.1 "); // "A001"

Data Source

www.cdc.gov/nchs

Development

For regenerating data/icd10.min.json via npm run parse-icd, use Node.js v22+ (required for --experimental-strip-types).

Updating the ICD-10-CM data

CDC/NCHS publishes a new code set annually (effective October 1) and occasionally a mid-year update (effective April 1). Check the CDC files page or the CMS ICD-10 page for the latest "Code Descriptions in Tabular Order" archive.

  1. Download the latest Code Descriptions in Tabular Order zip
  2. Extract icd10cm_codes_<year>.txt and save it as scripts/icd10cm.txt (format: code, whitespace, description per line)
  3. Run npm run parse-icd to regenerate data/icd10.min.json
  4. Run npm test and verify the reported code count matches the addenda
  5. Bump the package version and publish

Versions

  • v2.0.0 - Data updated to the April 1, 2026 ICD-10-CM release (74,719 codes, from the FY2024 set). TypeScript 7 (native compiler) toolchain, ESLint replaced with oxlint + Prettier, dropped tsup for plain tsc (zero-bundler dual ESM/CJS), dataset shipped once and lazy-loaded (~50% smaller install, faster imports), fixed broken require() entry point
  • v1.1.5 - Dependency and toolchain maintenance
  • v1.1.0 - Migrated tests from Jest to Node's built-in test runner, TypeScript 6 toolchain
  • v1.0.3 - Dependency maintenance, CODEOWNERS
  • v1.0.1 - README badges, sustainable-npm publishing workflow
  • v1.0.0 - Normalized lookups, data load guard, bundled ESM/CJS build, flat ESLint 9 config, 100% tests/coverage
  • v0.0.x - Initial releases, April 1, 2024 ICD-10-CM update