Original Research

NPM Download Trends

By Michael Lip · Published April 11, 2026 · Data source: npm registry API · Last updated:
52
Packages Tracked
379M
Top Weekly DLs
274x
Download Range
10
Categories

Which npm packages are developers installing the most? We queried the npm downloads API for 52 popular packages and found that utility libraries dominate: chalk leads with 379M weekly downloads, followed by commander (321M) and ajv (236M). Framework choices reveal interesting trends: Hono (33M) has overtaken Fastify (5.5M) and Koa (6M), while Express (84M) remains the undisputed leader.

Weekly Download Rankings

# Package Weekly Downloads Category Description
1chalk379,842,768CLITerminal string styling
2commander321,759,345CLICLI argument parsing
3ajv236,415,047ValidationJSON Schema validator
4uuid220,409,793UtilityUUID generation (v1, v4, v7)
5typescript153,650,048LanguageTypeScript compiler
6zod133,003,378ValidationTypeScript-first schema validation
7nanoid131,153,197UtilityTiny unique ID generator
8lodash125,235,251UtilityUtility library
9dotenv109,293,563ConfigEnvironment variable loader
10eslint107,002,958LintingJavaScript linter
11react104,877,716FrameworkUI component library
12axios93,115,906HTTPPromise-based HTTP client
13vite85,308,336BuildNext-gen frontend build tool
14express84,716,349FrameworkWeb application framework
15prettier76,466,385FormattingCode formatter
16ora58,481,350CLITerminal spinner
17sharp51,162,749ImageHigh-perf image processing
18playwright45,721,776TestingBrowser automation
19cors44,940,839MiddlewareCORS middleware for Express
20webpack41,177,475BuildModule bundler
21dayjs40,509,151DateLightweight date library
22vitest40,245,758TestingVite-native test framework
23jest40,068,301TestingJavaScript testing framework
24jsonwebtoken36,416,534AuthJWT implementation
25next35,532,787FrameworkReact framework
26marked33,205,748ParsingMarkdown parser
27hono33,135,919FrameworkUltrafast web framework
28pino24,584,543LoggingLow-overhead JSON logger
29pg21,240,921DatabasePostgreSQL client
30winston20,013,568LoggingMulti-transport logger
31highlight.js18,576,900SyntaxSyntax highlighter
32cheerio17,758,187ParsingHTML parser (jQuery-like)
33joi16,795,369ValidationObject schema validation
34ioredis15,017,107DatabaseRedis client
35mocha13,222,090TestingTest framework
36socket.io11,692,195RealtimeWebSocket library
37prisma9,310,094ORMNext-gen TypeScript ORM
38morgan9,272,746MiddlewareHTTP request logger
39helmet8,467,797SecuritySecurity headers middleware
40puppeteer8,332,723TestingChrome headless browser
41mysql28,135,037DatabaseMySQL client
42redis7,920,051DatabaseRedis client (official)
43bcryptjs7,663,393AuthBcrypt password hashing
44drizzle-orm6,846,670ORMTypeScript ORM
45cypress6,595,917TestingE2E testing framework
46koa6,079,729FrameworkNext-gen web framework
47fastify5,558,382FrameworkFast web framework
48mongoose4,456,168ORMMongoDB ODM
49bullmq3,971,935QueueRedis-based job queue
50knex3,542,516DatabaseSQL query builder
51sequelize2,522,389ORMMulti-dialect SQL ORM
52bull1,387,153QueueRedis-based job queue (legacy)

Methodology

Data source: All download counts were fetched from the npm registry downloads API (api.npmjs.org/downloads/point/last-week/PACKAGE) on April 11, 2026.

  • 52 packages were selected based on ecosystem importance across frameworks, utilities, databases, testing, and tooling
  • Download counts represent the last 7-day period as reported by the npm CDN
  • Counts include CI/CD pipeline installs, transitive dependencies, and mirror downloads
  • Categories are manually assigned based on primary package function

Frequently Asked Questions

What is the most downloaded npm package?

As of April 2026, chalk is the most downloaded npm package with 379 million weekly downloads. It is a terminal string styling library used as a transitive dependency by nearly every CLI tool. Commander (321M) and ajv (236M) round out the top 3.

Why does chalk have more downloads than React or Express?

Chalk has 379M weekly downloads versus React's 104M because chalk is a transitive dependency of thousands of packages. Every CLI tool that colors terminal output likely depends on chalk. React is only installed by projects that explicitly use it. Transitive dependencies are counted each time they are installed.

How can I check the weekly downloads for any npm package?

Three methods: 1) Visit npmjs.com/package/PACKAGE_NAME, 2) Use the npm API: curl 'https://api.npmjs.org/downloads/point/last-week/PACKAGE', 3) Use npm-stat.com for historical charts. The npm API supports bulk queries with comma-separated package names.

Which web framework has the most npm downloads?

Express leads with 84M weekly downloads, followed by Next.js (35M), Hono (33M), Koa (6M), and Fastify (5.5M). Hono is the fastest-growing framework, having risen from near-zero to 33M weekly downloads in two years.

Are npm download counts accurate measures of package popularity?

No. CI/CD pipelines inflate counts, transitive dependencies get counted even when not directly chosen, mirrors may double-count, and npm does not deduplicate by user. Better indicators include GitHub stars, npm dependents count, and community survey data like the State of JS.

Free to use under CC BY 4.0 license. Cite this page when sharing.