Generated by GPT-5-mini| core-js | |
|---|---|
| Name | core-js |
| Developer | Unknown |
| Released | 2013 |
| Programming language | JavaScript |
| Platform | Cross-platform |
| License | MIT |
core-js is a modular JavaScript library that provides polyfills for ECMAScript features across environments such as ECMAScript 2015, Node.js, Google Chrome, Mozilla Firefox and Internet Explorer. It aims to bridge gaps between environments by implementing proposals and standard features referenced by organizations like TC39, WHATWG, W3C and projects such as Babel (JavaScript compiler), Webpack, Rollup (software) and Parcel (software). core-js is widely used in ecosystems involving React (JavaScript library), Angular (application platform), Vue.js and tooling from Microsoft and GitHub-hosted repositories.
core-js originated in the context of increasing fragmentation in JavaScript implementations following releases like ECMAScript 2015 and later editions, and during a period of rapid toolchain evolution involving Babel (JavaScript compiler), Traceur (compiler), TypeScript and bundlers such as Webpack. Early motivation intersected with compatibility efforts from vendors including Google, Mozilla, Microsoft and standards bodies like TC39 and ECMA International. Subsequent development paralleled major platform events like the adoption cycles of ES2016, ES2017, ECMAScript 2018 and later editions, as well as the rise of frameworks such as AngularJS, React Native and Electron (software framework). Maintenance and versioning reflected community interactions on platforms like GitHub, contributions from corporations and individuals associated with institutions like OpenJS Foundation and discourse in conferences such as JSConf and Node.js Interactive.
core-js implements a wide range of ECMAScript proposals and standardized features including polyfills for built-ins referenced in ECMAScript 2015 and later specifications, typed collections used in V8 (JavaScript engine), advanced iterator protocols that interact with runtime semantics from SpiderMonkey and Chakra (JavaScript engine), and static methods utilized by frameworks like Next.js and Nuxt.js. It exposes modular entry points analogous to modules in CommonJS ecosystems and integrates with transpilers such as Babel (JavaScript compiler) and type systems like TypeScript to support codebases maintained by organizations like Google and Microsoft. The library tracks proposals and stage progression maintained by TC39, including features that appeared in milestone documents discussed at events such as ECMAScript Internationalization API meetings and working groups affiliated with W3C.
Developers typically add core-js to projects via package managers such as npm and Yarn (package manager), and configure it alongside build tools like Webpack, Rollup (software), Parcel (software), or task runners seen in Grunt or Gulp (tool). Integration patterns often reference transpilers and presets from Babel (JavaScript compiler), settings in TypeScript tsconfig files, and compatibility matrices for runtimes including Node.js, Deno (runtime) and browser engines such as Blink, Gecko and WebKit. Popular usage guides and community examples are shared through repositories and issue trackers hosted on GitHub, discussed at meetups organized by groups like JSConf and Node.js Foundation contributor channels.
The project aligns with specifications published by ECMA International, including editions of ECMAScript and companion standards like the Intl (ECMAScript Internationalization API) family that affect globalization in engines like V8 (JavaScript engine), SpiderMonkey and JavaScriptCore. Its implementation choices are guided by stage proposals from TC39 and reference materials produced by committees associated with W3C and standards discussions at events such as ECMA Technical Committee 39 meetings. Compatibility matrices consider target environments including Internet Explorer, legacy releases of Microsoft Edge and modern browsers like Google Chrome, Mozilla Firefox and Apple Safari to balance polyfill granularity and performance trade-offs.
Development occurs in public repositories hosted on GitHub, where contributors from organizations such as Mozilla, Google, Microsoft and independent maintainers collaborate through pull requests, issue triage and continuous integration systems integrated with services similar to Travis CI and GitHub Actions. Release cadence reflects coordination with major tooling updates from projects like Babel (JavaScript compiler), Webpack, Rollup (software) and ecosystem shifts prompted by major versions of Node.js and browsers updated by Google, Apple and Mozilla. Governance and contribution practices mirror patterns seen in foundations like the OpenJS Foundation and community-led projects documented at conferences including JSConf and Node Summit.
core-js has faced scrutiny regarding dependency surface and transpilation interactions when used with tools such as Babel (JavaScript compiler), Webpack and Rollup (software), with security reviews and advisories often discussed on GitHub issue trackers and disclosed in advisories that reference incident response practices in organizations like OWASP and CERT. Criticism has addressed bundle size, polyfill scope, and potential for global namespace modification—topics echoed in debates at conferences like JSConf and in articles published by outlets aligned with developers at Mozilla and Google. Mitigations include selective importing patterns recommended by maintainers and integration guidance used by large projects maintained at Microsoft and community repositories on GitHub.
Category:JavaScript libraries