Library comparisons
90 pairs of libraries and dev tools that do the same job, compared by how 6,253 public projects built with AI coding agents use them: share, trend in new repos, use by coding agent, and how many projects use both. Every pair was checked to do the same job, so add-ons and companions are never paired. Updated Nov 17, 2026.
Web frameworks
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| React vs Vue npm | 42.0% | 3.5% | 8 |
| Next.js vs Astro npm | 23.0% | 2.4% | 1 |
| Vue vs Astro npm | 3.5% | 2.4% | 4 |
| React vs Angular npm | 42.0% | 1.9% | 4 |
| Astro vs Svelte npm | 2.4% | 1.7% | 6 |
| React vs Svelte npm | 42.0% | 1.7% | 4 |
| Vue vs Svelte npm | 3.5% | 1.7% | 2 |
| Next.js vs Nuxt npm | 23.0% | 1.6% | 0 |
| React Router vs TanStack Router npm | 6.0% | 1.1% | 1 |
UI components and icons
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| Lucide React vs React Icons npm | 25.9% | 3.6% | 118 |
| Sonner vs React Hot Toast npm | 12.0% | 1.6% | 27 |
| Lucide React vs Heroicons npm | 25.9% | 1.5% | 51 |
Styling and CSS
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| Tailwind CSS vs Sass npm | 42.0% | 2.2% | 59 |
Animation and motion
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| tw-animate-css vs Tailwind CSS Animate npm | 11.7% | 8.7% | 65 |
| Framer Motion vs Motion npm | 10.2% | 4.5% | 63 |
| Framer Motion vs GSAP npm | 10.2% | 2.3% | 47 |
| Motion vs GSAP npm | 4.5% | 2.3% | 31 |
Charts and data visualisation
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| Recharts vs Chart.js npm | 11.8% | 1.8% | 25 |
| Matplotlib vs Plotly PyPI | 10.3% | 3.5% | 23 |
| Seaborn vs Plotly PyPI | 3.7% | 3.5% | 16 |
Forms, validation and schemas
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| Zod vs Ajv npm | 32.5% | 3.1% | 79 |
| Pydantic vs jsonschema PyPI | 33.1% | 6.3% | 71 |
State and data fetching
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| TanStack Query vs SWR npm | 9.5% | 1.0% | 13 |
Markdown, editors and content
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| react-markdown vs Marked npm | 5.1% | 3.3% | 31 |
| Marked vs markdown-it npm | 3.3% | 1.4% | 7 |
| Shiki vs highlight.js npm | 1.7% | 1.4% | 11 |
| Marked vs MDX npm | 3.3% | 1.3% | 10 |
| react-markdown vs MDX npm | 5.1% | 1.3% | 13 |
Desktop and mobile apps
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| React Native vs Expo npm | 2.9% | 2.8% | 130 |
| React Native vs Capacitor npm | 2.9% | 1.0% | 0 |
Utilities
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| yaml vs js-yaml npm | 4.2% | 2.9% | 13 |
| uuid vs Nanoid (JavaScript) npm | 6.1% | 2.1% | 21 |
| date-fns vs Day.js npm | 13.4% | 1.9% | 21 |
Model SDKs
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| OpenAI vs Anthropic SDK npm | 5.9% | 4.9% | 89 |
| Anthropic SDK vs Google Generative AI npm | 4.9% | 3.5% | 43 |
| OpenAI vs Google Generative AI npm | 5.9% | 3.5% | 52 |
| OpenAI Python Library vs Anthropic Python SDK PyPI | 15.2% | 7.1% | 65 |
| Anthropic Python SDK vs Google GenAI Python SDK PyPI | 7.1% | 6.2% | 20 |
| OpenAI Python Library vs Google GenAI Python SDK PyPI | 15.2% | 6.2% | 41 |
Agent, MCP and tool libraries
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| LangChain vs LangGraph PyPI | 7.8% | 4.8% | 67 |
Databases, ORMs and clients
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| Prisma vs Drizzle ORM npm | 5.1% | 5.2% | 4 |
| pg vs Neon Serverless Driver npm | 6.1% | 1.6% | 31 |
| asyncpg vs psycopg PyPI | 4.2% | 4.3% | 11 |
| psycopg2 vs asyncpg PyPI | 6.1% | 4.2% | 25 |
| asyncpg vs aiosqlite PyPI | 4.2% | 3.4% | 15 |
SDKs for hosted services
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| Supabase JS vs Firebase npm | 13.9% | 2.0% | 15 |
Auth and security libraries
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| jsonwebtoken vs jose npm | 3.1% | 2.2% | 7 |
| NextAuth.js vs Better Auth npm | 3.1% | 2.1% | 3 |
| bcryptjs vs bcrypt (JavaScript) npm | 4.0% | 1.3% | 9 |
| Better Auth vs Clerk npm | 2.1% | 1.2% | 0 |
| NextAuth.js vs Clerk npm | 3.1% | 1.2% | 5 |
| PyJWT vs python-jose PyPI | 7.2% | 3.6% | 7 |
| passlib vs bcrypt (Python) PyPI | 3.6% | 3.4% | 23 |
Files, images and media
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| PDF.js vs pdf-parse npm | 1.9% | 1.3% | 15 |
| jsPDF vs pdf-lib npm | 2.7% | 1.3% | 8 |
| SheetJS vs ExcelJS npm | 2.6% | 1.2% | 14 |
Scraping, browsers and parsing
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| Puppeteer vs Playwright Core npm | 1.8% | 1.6% | 0 |
| Beautiful Soup vs lxml PyPI | 8.3% | 4.9% | 58 |
HTTP servers and APIs
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| Express vs Hono npm | 8.7% | 2.3% | 21 |
| FastAPI vs Flask PyPI | 28.7% | 6.5% | 18 |
| FastAPI vs Starlette PyPI | 28.7% | 5.1% | 63 |
| Flask vs Starlette PyPI | 6.5% | 5.1% | 5 |
HTTP clients and networking
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| Requests vs httpx PyPI | 26.2% | 17.1% | 56 |
| httpx vs aiohttp PyPI | 17.1% | 7.8% | 33 |
| Axios vs node-fetch npm | 9.7% | 2.2% | 36 |
| Axios vs undici npm | 9.7% | 2.2% | 20 |
| httpx vs urllib3 PyPI | 17.1% | 6.0% | 14 |
| Requests vs urllib3 PyPI | 26.2% | 6.0% | 88 |
| ws vs Socket.IO Client npm | 4.2% | 1.4% | 10 |
| ws vs Socket.IO npm | 4.2% | 1.2% | 9 |
Testing
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| Vitest vs Jest npm | 27.0% | 8.1% | 61 |
| jsdom vs Happy DOM npm | 12.7% | 2.5% | 36 |
| Vitest vs Nx Jest Plugin npm | 27.0% | 1.1% | 24 |
Linting and formatting
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| ESLint vs Biome npm | 47.0% | 7.3% | 45 |
| Prettier vs Biome npm | 27.1% | 7.3% | 40 |
| ESLint vs oxlint npm | 47.0% | 4.0% | 40 |
| Black vs Ruff PyPI | 4.8% | 3.3% | 19 |
Languages, types and runtimes
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| tsx vs ts-node npm | 19.7% | 6.1% | 89 |
| ts-node vs jiti npm | 6.1% | 2.3% | 22 |
| tsx vs jiti npm | 19.7% | 2.3% | 64 |
Build tools and bundlers
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| Turborepo vs Nx npm | 7.5% | 2.6% | 0 |
| Babel (JavaScript) vs SWC npm | 4.7% | 2.3% | 31 |
| esbuild vs SWC npm | 6.2% | 2.3% | 34 |
| esbuild vs webpack npm | 6.2% | 1.1% | 5 |
| Vite vs webpack npm | 25.4% | 1.1% | 14 |
Dev workflow and config
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| python-dotenv vs Pydantic Settings PyPI | 35.2% | 13.4% | 125 |
| Husky vs Lefthook npm | 13.2% | 2.6% | 4 |
| Click vs Typer PyPI | 9.5% | 7.6% | 36 |
Logging, monitoring and analytics
| Matchup | Share, first | Share, second | Projects with both |
|---|---|---|---|
| Vercel Analytics vs PostHog JS npm | 4.6% | 1.4% | 14 |
| Pino vs Winston npm | 1.8% | 1.2% | 2 |