Announcement

Free to view yesterday and today
Customer Service: cat_manager

core-js - Modular JavaScript Standard Library Polyfill

core-js is a popular and widely used polyfill for the JavaScript standard library, supporting the latest ECMAScript standards and various JavaScript proposals. It ensures compatibility across different environments, including older browsers.

JavaScript
Added on 2025年7月1日
View on GitHub
core-js - Modular JavaScript Standard Library Polyfill preview
25,090
Stars
1,683
Forks
JavaScript
Language

Project Introduction

Summary

core-js provides polyfills for virtually all standard library features introduced in ECMAScript 2015 and later, as well as proposals. It aims to make modern JavaScript usable everywhere.

Problem Solved

The problem is the inconsistency of JavaScript environments. New features in the standard library are often not available in older browsers or Node.js versions. core-js bridges this gap by providing implementations of these features.

Core Features

Comprehensive Polyfills

Provides polyfills for a wide range of features including Promises, Symbols, Iterators, Collections (Map, Set, WeakMap, WeakSet), Typed Arrays, and many more from ES6 to the latest proposals.

Modular Design

Allows developers to import only the specific polyfills needed, reducing bundle size and improving performance.

Tech Stack

JavaScript
Babel
Webpack
ESLint
Mocha

使用场景

This project is widely used in scenarios requiring consistent JavaScript standard library behavior across diverse environments, especially targeting older browsers or specific runtime versions.

场景一:Supporting Older Browsers

Details

Ensuring web applications built with modern JavaScript features (like Promises, async/await via generators/runtime) work correctly in Internet Explorer or older versions of Chrome/Firefox/Safari.

User Value

Increases application reach and user base by maintaining compatibility.

场景二:Building Libraries/Frameworks

Details

Authors of libraries or frameworks can use core-js to ensure their code relies on standard features without worrying about the host environment's native support.

User Value

Simplifies library development and guarantees predictable behavior for users regardless of their setup.

Recommended Projects

You might be interested in these projects

xifangczycat-catch

Cat Catch is a browser extension designed to detect and list resources (like videos, audio, images, scripts, etc.) loaded by a webpage, making them easy for the user to identify and download.

JavaScript
136881166
View Details

trynovanova

Nova is an open-source project aimed at improving web development efficiency and performance through a high-performance engine. It is designed for developers seeking faster execution and more flexible solutions.

Rust
140751
View Details

madlerzlib

An industry-standard, general-purpose lossless data compression library. Highly portable and widely used across various applications, from file archiving to network protocols.

C
62222574
View Details