NPM Download Comparison: TanStack vs Next.js vs React Router vs Astro vs Vue vs Angular vs Expo vs svelte vs vite vs React

Compare npm package downloads with interactive charts. Track trends and make data-driven decisions.

Loading download statistics...
Package NameNPM PackagesTotal Period DownloadsDownloads last month

Presets

JavaScript Ecosystem

TanStack
Next.js
React Router
Astro
Vue
Angular
Expo
svelte
+ 1 more
Baseline:
React

JavaScript Ecosystem (flat)

TanStack Query
TanStack Table
TanStack Router
TanStack Start
TanStack Form
TanStack Virtual
TanStack DB
TanStack Pacer
+ 15 more
Baseline:
React

TanStack Total

TanStack

TanStack Libraries

TanStack Query
TanStack Table
TanStack Router
TanStack Start
TanStack Form
TanStack Virtual
TanStack DB
TanStack Pacer
+ 8 more

Data Fetching

@tanstack/react-query
swr
@apollo/client
@trpc/client

State Management

redux
mobx
zustand
jotai
valtio
@tanstack/store
@tanstack/react-query

Routing (React)

react-router
@tanstack/react-router
next
wouter
expo

AI & Agent Harnesses

TanStack AI
AI SDK
LangChain
LangGraph
Mastra
OpenAI Agents
Genkit
CopilotKit
+ 1 more

Data Grids

ag-grid-community
@tanstack/react-table
handsontable
@mui/x-data-grid
react-data-grid

Virtualization

react-virtualized
react-window
@tanstack/react-virtual
react-lazyload
virtua
react-virtuoso

Frameworks

react
vue
@angular/core
svelte
solid-js
preact

Styling

tailwindcss
bootstrap
@emotion/react
@stitches/react
@vanilla-extract/css

Build Tools

webpack
vite
rollup
rolldown
esbuild
@swc/core
parcel
@rspack/core

Testing

jest
vitest
@testing-library/react
cypress
playwright
@storybook/react

Forms

react-hook-form
@tanstack/form-core
@conform-to/dom
@formisch/react

UI Components

@mui/material
@chakra-ui/react
@radix-ui/themes
@headlessui/react
@mantine/core

Animation

motion
react-spring
@react-spring/web
gsap
@motionone/dom
@formkit/auto-animate

Date & Time

date-fns
dayjs
luxon
moment
@date-io/date-fns
temporal-polyfill

Validation

zod
io-ts
arktype
valibot
yup
@sinclair/typebox

Documentation

vitepress
@docusaurus/core
vocs
@astrojs/starlight
nextra
fumadocs-core

Frequently Asked Questions

How are npm download statistics calculated?

NPM download statistics are sourced from the official npm registry API. Downloads are counted each time a package is installed via npm, yarn, or pnpm. These numbers include downloads from CI/CD pipelines, development machines, and production deployments.

What's the difference between weekly and daily downloads?

Daily downloads show the exact number of downloads per day, useful for spotting short-term trends and anomalies. Weekly downloads aggregate 7 days of data, smoothing out day-to-day variations and making it easier to identify long-term growth patterns.

How does TanStack NPM Stats compare to npmtrends?

TanStack NPM Stats offers faster load times with cached data, flexible time ranges up to all-time history, advanced features like baseline comparisons and relative growth charts, plus the ability to combine multiple packages into a single trend line for tracking package migrations (e.g., react-query to @tanstack/react-query).

Why do some packages show zero downloads before a certain date?

NPM download statistics are only available from January 10, 2015 onwards. Additionally, packages will show zero downloads before their initial publish date. Some packages may also be renamed or scoped (e.g., react-query became @tanstack/react-query), so historical data may appear under different package names.

Can I compare any npm package?

Yes! You can compare any public package on the npm registry. Simply search for packages by name and add them to your comparison. You can compare multiple packages simultaneously and even group related packages together (like combining legacy and new package names) for accurate historical tracking.