npmbot.com
AI
Bundle Slimming & Modernization Radar

Lightweight NPM Alternatives

Cut JavaScript bundle size by up to 97%. Find modern, ESM-native, and tree-shakeable replacements for legacy libraries.

SPONSORED CLOUD•Google Ads Partner
axios11.8 kB gzip

Promise based HTTP client for the browser and node.js with automatic JSON transformation and request interception.

Top Recommended Replacements:
ky-70% sizenode-fetch-45% size
ky3.4 kB gzip

Tiny and elegant HTTP client based on the browser Fetch API, with automatic retry, timeout, and hooks.

Top Recommended Replacements:
axios230% size
express52 kB gzip

Fast, unopinionated, minimalist web framework for node.

Top Recommended Replacements:
fastify-25% sizehono-80% size
fastify38 kB gzip

Extremely fast and low overhead web framework, for Node.js, with built-in JSON schema validation.

Top Recommended Replacements:
hono-70% sizeexpress40% size
hono9.5 kB gzip

Fast, Lightweight, Web-standards based web framework for Cloudflare Workers, Fastly, Deno, Bun, and Node.js.

Top Recommended Replacements:
fastify300% sizeexpress500% size
moment72.1 kB gzip

Parse, validate, manipulate, and display dates and times in JavaScript.

Top Recommended Replacements:
dayjs-97% sizedate-fns-85% size
dayjs2.7 kB gzip

Fast 2kB alternative to Moment.js with the same modern API.

Top Recommended Replacements:
date-fns15% sizemoment2500% size
date-fns3.8 kB gzip

Modern JavaScript date utility library like lodash for dates, modular and tree-shakeable.

Top Recommended Replacements:
dayjs-25% size
lodash25.1 kB gzip

A modern JavaScript utility library delivering modularity, performance, & extras.

Top Recommended Replacements:
es-toolkit-95% sizeradash-88% size
es-toolkit1.1 kB gzip

A modern JavaScript utility library with 2-3x faster performance and up to 97% smaller bundle size.

Top Recommended Replacements:
radash10% sizelodash2100% size
zustand1.2 kB gzip

A small, fast and scalable bearbones state-management solution using simplified flux principles.

Top Recommended Replacements:
jotai20% sizeredux-toolkit900% size
redux-toolkit12.3 kB gzip

The official, opinionated, batteries-included toolset for efficient Redux development.

Top Recommended Replacements:
zustand-90% size
zod13.1 kB gzip

TypeScript-first schema declaration and validation library with static type inference.

Top Recommended Replacements:
valibot-88% sizeyup10% size
valibot1.4 kB gzip

The modular and type-safe schema library for validating structural data with up to 98% smaller bundle footprint.

Top Recommended Replacements:
zod750% size
chalk5.2 kB gzip

Terminal string styling done right. Expressive and readable ANSI color highlighting.

Top Recommended Replacements:
picocolors-85% size
picocolors0.8 kB gzip

The tiniest and fastest library for formatting terminal text with ANSI colors.

Top Recommended Replacements:
chalk650% size