core-js

Modular standard library and polyfills for JavaScript, from ECMAScript features to proposals and web standards.

Library
npm
v3.51.0
25,526 stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
91 /100 Excellent
Development Activity 100
Maintenance 96
Community 68
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
87 /100 Excellent
Architecture 95
Code Quality 90
Innovation 88
Learning Curve 70

core-js is the most widely used modular standard library for JavaScript, providing polyfills for the full breadth of ECMAScript — promises, symbols, iterators, collections, typed arrays, and hundreds of other methods — up to the latest yearly editions, along with staged TC39 proposals and cross-platform WHATWG/W3C features like URL and structuredClone.

It is designed for granular consumption: you can pull in the entire library, import only the exact features your code needs, or use the pure version to add functionality without polluting the global namespace. Bundled with Babel’s preset-env and countless build pipelines, core-js quietly powers backwards compatibility for a huge share of the web.

What You Get

  • Polyfills for ECMAScript features up to the latest yearly editions (ES2015 through ES2026)
  • Implementations of staged TC39 proposals you can adopt before they ship natively
  • Cross-platform web standards such as URL, URLSearchParams, queueMicrotask, and structuredClone
  • A namespace-clean core-js-pure build that avoids modifying global prototypes
  • The core-js-compat tooling to compute exactly which modules a given browser target needs

Common Use Cases

  • Shipping modern JavaScript syntax and APIs to legacy browsers via Babel’s preset-env
  • Adding a single missing method (e.g. Array.prototype.flatMap) without a full polyfill bundle
  • Providing standard-library features inside a library without polluting consumers’ globals
  • Experimenting with TC39 proposals in production code ahead of native support

Under The Hood

Architecture

core-js is an npm-workspaces monorepo of five packages: the main core-js (global-polluting polyfills), core-js-pure (namespace-clean ponyfills), core-js-compat (target-to-module mapping with TypeScript definitions), core-js-builder, and core-js-bundle. The main package exposes layered entry points — es, stable, actual, full, stage, proposals, web — so consumers dial in exactly how bleeding-edge they want to be. Individual modules install features through a central internals/export.js dispatcher, which handles global vs static vs prototype targets and the forced/sham flags that let the pure build reuse the same module source. A generated compat database flows through core-js-compat to drive Babel preset-env’s module selection.

Tech Stack

The library is written in portable CommonJS JavaScript (98.5% of the codebase) with hand-authored TypeScript definitions for the compat and builder packages. It targets every JS engine from ES3 up, so it avoids modern syntax internally and leans on its own internal helpers rather than external runtime dependencies. Build and test tooling uses Babel, zx scripts, Karma, and Test262, orchestrated through npm workspaces.

Code Quality

Quality is exceptional for the scope. Roughly 567 feature modules each declare their polyfill through the shared export.js helper ($({ target, proto }, {...})) and cite the exact TC39 spec URL they implement, composed from ~329 small single-purpose internal helpers such as to-object, a-callable, and length-of-array-like. Testing is deep and multi-layered: unit suites run under Karma, Node, and Bun, with dedicated promises, observables, entries, and type-definition runners plus the full Test262 conformance suite, compat-data validation, ESLint, publint, and codespell all wired into the test script.

API Design

The public API is deliberately transparent — for the global build you import a path and use the native-looking API, and names map directly onto ECMAScript spec names, so there is essentially nothing new to learn beyond the language. Granular feature/method import paths (e.g. core-js/actual/array/flat-map) are consistent and predictable, and core-js-pure offers the same surface as importable, side-effect-free values. The main friction is choosing among the es/stable/actual/full entry points and the global vs pure variant, which the extensive documentation covers thoroughly.

Used by 50 apps in this directory

Python
99%
Apache 2.0

Rasa Open Source

AI Assistants · AI Development · Voice AI

21,353

Rasa Open Source is a Python machine learning framework for building contextual, multi-turn chatbots and voice assistants that understand natural language and maintain conversation state.

View details
62
Repo Health
78
Technical
63
Dependency
Built with
Python 99%
Updated 3 months ago
TypeScript
97%
AGPL 3.0

Responsively App

Design Tools · Developer Tools

25,464

Preview and interact with your responsive web design across every device size simultaneously — no more manual resizing.

View details
79
Repo Health
71
Technical
66
Dependency
Built with
TypeScript 97%
Updated 3 weeks ago
Python
57%
Other

Sentry

Analytics · Developer Tools · Monitoring

45,632

Developer-first error tracking and performance monitoring platform with AI-powered root-cause analysis across 20+ languages and frameworks.

View details
95
Repo Health
80
Technical
66
Dependency
Built with
Python 57%
TypeScript 42%
Updated 5 days ago
TypeScript
89%
Other

strapi

CMS

73,368

Open-source headless CMS that auto-generates REST and GraphQL APIs from your content models, with a fully customizable admin panel you control.

View details
93
Repo Health
84
Technical
63
Dependency
Built with
TypeScript 89%
JavaScript 11%
Updated 6 days ago
TypeScript
72%
Apache 2.0

Supabase

Authentication · Databases · Developer Tools

113,827

The open-source Postgres development platform that replaces Firebase with authentication, real-time APIs, edge functions, storage, and vector embeddings — all built on PostgreSQL.

View details
90
Repo Health
91
Technical
62
Dependency
Built with
TypeScript 72%
MDX 26%
Updated 5 days ago
TypeScript
91%
MIT

Super Productivity

Productivity · Project Management

23,103

A privacy-respecting, local-first task manager with built-in timeboxing, Pomodoro timer, and deep integrations for Jira, GitHub, GitLab, and CalDAV — no accounts, no data collection, ever.

View details
91
Repo Health
81
Technical
69
Dependency
Built with
TypeScript 91%
Updated 5 days ago
TypeScript
99%
Other

Teable

Databases · No Code Platforms

21,920

A no-code PostgreSQL database with spreadsheet UX, real-time collaboration, and native AI agents — built for teams that outgrow Airtable.

View details
78
Repo Health
76
Technical
62
Dependency
Built with
TypeScript 99%
Updated 6 days ago
TypeScript
63%
AGPL 3.0

undb

Databases · No Code Platforms

2,975

Self-hosted no-code database and BaaS that lets you manage structured data visually with multi-database support, formula fields, and auto-generated OpenAPI endpoints.

View details
58
Repo Health
66
Technical
65
Dependency
Built with
TypeScript 63%
Svelte 35%
Updated 1 months ago
JavaScript
56%
MIT

Uptime Kuma

Monitoring

92,816

Self-hosted monitoring for every service you run — 23 monitor types, 95 notification channels, live dashboards, and public status pages with no vendor lock-in.

View details
92
Repo Health
81
Technical
62
Dependency
Built with
JavaScript 56%
Vue 41%
Updated 5 days ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers