core-js : core-js is a modular standard library for JavaScript, with polyfills for cutting-edge ECMAScript features.
This technology is used by 6.95% of websites in the JavaScript libraries category. The most popular industry vertical is Business and Finance, with Business being the top subcategory.
What is core-js?
core-js is the most comprehensive JavaScript polyfill library, providing implementations of ECMAScript features from ES5 through ES2024. Created by Denis Pushkarev, it enables developers to use modern JavaScript features in older browsers that don't natively support them.
With 250+ million weekly npm downloads, core-js is a foundational dependency of the JavaScript ecosystem. Babel's @babel/preset-env uses core-js to polyfill features based on target browser configurations. When you use Array.prototype.includes() in IE11, core-js makes it work.
core-js covers: Promise, Symbol, Map, Set, WeakMap, Array methods (flat, flatMap, includes, find), Object methods (entries, values, assign), String methods (padStart, includes), Number.isNaN, and hundreds more features across ES5-ES2024 specifications.
Industry Vertical Distribution
Technologies Frequently Used with core-js
| Technology | Co-usage Rate | Website |
|---|---|---|
| Open Graph | 75.76% | https://ogp.me |
| RSS | 44.48% | https://www.rssboard.org/rss-specification |
| webpack | 36.59% | https://webpack.js.org/ |
| Module Federation | 35.95% | https://webpack.js.org/concepts/module-federation/ |
| HSTS | 32.48% | https://www.rfc-editor.org/rfc/rfc6797#section-6.1 |
| reCAPTCHA | 29.82% | https://www.google.com/recaptcha/ |
| Google Tag Manager | 29.12% | http://www.google.com/tagmanager |
| jQuery | 26.54% | https://jquery.com |
| Facebook Pixel | 26.12% | http://facebook.com |
| Google Analytics | 25.8% | http://google.com/analytics |
core-js Architecture
Modular Design: core-js is fully modular. Import entire library, feature categories (es.array, es.promise), or individual polyfills (core-js/features/array/flat). Build tools tree-shake unused modules.
Entry Points: core-js polyfills everything. core-js/stable excludes proposals. core-js/actual includes stable + shipped proposals. core-js-pure doesn't pollute globals.
Babel Integration: @babel/preset-env's useBuiltIns: 'usage' analyzes code and automatically imports only needed polyfills. Specify target browsers in browserslist for optimal output.
Polyfill Detection: core-js checks for native implementations before polyfilling. Native Promise? Skip polyfill. Missing Array.prototype.flat? Add it. Minimal overhead on modern browsers.
Version Strategy: core-js@3 (current) restructured modules. core-js@2 is legacy. Breaking changes between major versions require Babel configuration updates.
AI-Powered Technology Recommendations
Our AI recommender engine, trained on 100 million data points, suggests these technologies for websites using core-js:
| Technology | AI Score | Website |
|---|---|---|
| Boomerang | 0.29 | https://akamai.github.io/boomerang |
| Open Graph | 0.22 | https://ogp.me |
| Google Cloud CDN | 0.16 | https://cloud.google.com/cdn |
| GoDaddy Domain Parking | 0.14 | https://www.godaddy.com |
| Facebook Pixel | 0.11 | http://facebook.com |
| LazySizes | 0.11 | https://github.com/aFarkas/lazysizes |
| Contact Form 7 | 0.1 | https://contactform7.com |
| RSS | 0.09 | https://www.rssboard.org/rss-specification |
| Linkedin Sign-in | 0.08 | https://www.linkedin.com/developers |
| Choices | 0.08 | https://github.com/Choices-js/Choices |
IAB Tier 1 Vertical Distribution
Relative Usage by Industry
Market Distribution Comparison
core-js Use Cases
Legacy Browser Support: Enterprise applications requiring IE11 support use core-js to enable modern JavaScript features. Promises, async/await, and new array methods work everywhere.
Consistent Cross-Browser Behavior: Even among modern browsers, implementation timing varies. core-js ensures features behave identically across Chrome, Firefox, Safari, and Edge.
Using Bleeding-Edge Features: Stage 3 proposals like Object.groupBy or Promise.withResolvers can be polyfilled before browsers ship native implementations.
Node.js Polyfilling: While Node.js is V8-based and generally modern, specific features may lag. core-js ensures consistent behavior across Node.js versions.
Library Development: NPM packages use core-js-pure (non-polluting) to polyfill features without modifying global prototypes that might conflict with application code.
Babel Workflows: Most Babel configurations include core-js via @babel/preset-env. It's the default polyfill strategy for production JavaScript builds.
IAB Tier 2 Subcategory Distribution
Top Websites Using core-js
| Website | IAB Category | Subcategory | OpenRank |
|---|---|---|---|
| microsoft.com | Technology & Computing | Computing | 7.82 |
| etsy.com | Shopping | Personal Celebrations & Life Events | 7.33 |
| eventbrite.com | Events and Attractions | Concerts & Music Events | 7.13 |
| yahoo.com | News and Politics | International News | 7.1 |
| cnn.com | News and Politics | International News | 7.09 |
| theverge.com | Business and Finance | Industries | 7.09 |
| archive.org | Fine Art | Amharic | 6.97 |
| statista.com | Business and Finance | Industries | 6.93 |
| slate.com | News and Politics | Political Event | 6.74 |
| squarespace.com | Business and Finance | Marketplace/eCommerce | 6.74 |
core-js Usage Examples
Babel Configuration with core-js
// babel.config.js
module.exports = {
presets: [
['@babel/preset-env', {
useBuiltIns: 'usage', // Auto-import needed polyfills
corejs: { version: '3.33', proposals: true },
targets: '> 0.25%, not dead, IE 11'
}]
]
};
// Now in your code, use modern features freely:
const arr = [1, [2, [3]]];
arr.flat(2); // core-js polyfills Array.prototype.flat for IE11
async function fetchData() {
const response = await fetch('/api'); // Promise polyfilled
return response.json();
}
Direct Import (Manual)
// Import specific polyfills manually
import 'core-js/stable/array/flat';
import 'core-js/stable/promise';
import 'core-js/stable/object/entries';
// Or import everything (larger bundle)
import 'core-js/stable';
// Non-polluting version for libraries
import flat from 'core-js-pure/stable/array/flat';
const result = flat([1, [2, 3]], 1);
Usage by Domain Popularity (Top 1M)
Usage by Domain Age
The average age of websites using core-js is 11.5 years. The average OpenRank (measure of backlink strength) is 2.6.
core-js Benefits & Considerations
Comprehensive Coverage: One library covers ES5-ES2024+. No hunting for individual polyfills. Promise, Symbol, Proxy, WeakRef, and 500+ features included.
Babel Ecosystem: First-class @babel/preset-env integration. Configure once, polyfills are automatic. Usage-based imports prevent bundle bloat.
Spec Compliance: Polyfills follow ECMAScript specifications precisely. Behavior matches native implementations. Tests against official ECMAScript test suite.
Actively Maintained: New ECMAScript proposals added promptly. Bug fixes and performance improvements ongoing. Critical infrastructure receives attention.
Bundle Size: Full core-js is 150KB+ minified. Use useBuiltIns: 'usage' and specific browserslist targets to minimize. For modern-only sites, consider dropping polyfills entirely.
Funding Concerns: core-js is maintained by a single developer. Consider sponsoring if your business depends on it. The project has faced sustainability challenges.
Emerging Websites Using core-js
| Website | IAB Category | Subcategory | OpenRank |
|---|---|---|---|
| 786webhosting.com | Television | Sports TV | 0 |
| wilsonfuneralhomeracine.com | Events and Attractions | Personal Celebrations & Life Events | 0 |
| easytech-sl.com | Automotive | Business | 0 |
| noskovaonline.com | Food & Drink | Desserts and Baking | 0 |
| santacruzirrigation.com | Home & Garden | Landscaping | 0 |
Technologies Less Frequently Used with core-js
| Technology | Co-usage Rate | Website |
|---|---|---|
| a-blog cms | 0% | http://www.a-blogcms.jp |
| Acquia Campaign Factory | 0% | https://www.acquia.com/products/marketing-cloud/campaign-factory |
| Acquia Content Hub | 0% | https://www.acquia.com/products/drupal-cloud/content-hub |
| Acquia Customer Data Platform | 0% | https://www.acquia.com/products/marketing-cloud/customer-data-platform |
| Acquire Live Chat | 0% | https://acquire.io |
