Modular standard library for JavaScript. Includes polyfills for ECMAScript up to 2021: promises, symbols, collections, iterators, typed arrays, many other features, ECMAScript proposals, some cross-platform WHATWG / W3C features and proposals like URL. You can load only required features or use it without global namespace pollution. The maintainers of core-js and the maintainers of thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. If you use core-js with the extension of native objects, recommended load all core-js modules at the top of the entry point of your application, otherwise, you can have conflicts.
Features
- core-js is a npm component included in the Tidelift Subscription
- core-js is extremely modular and uses a lot of very tiny modules
- core-js is integrated with babel and is the base for polyfilling-related babel features
- By default, core-js sets polyfills only when they are required
- core-js checks if a feature is available and works correctly or not and if it has no problems, core-js use native implementation
- For some cases could be useful to exclude some core-js features or generate a polyfill for target engines