core-js
Modular standard library for JavaScript. Includes polyfills for ECMAScript up to 2019: 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.
As advertising: the author is looking for a good job -)
core-js@3, babel and a look into the future
Raising funds
core-js
isn't backed by a company, so the future of this project depends on you. Become a sponsor or a backer on Open Collective or on Patreon if you are interested in core-js
.
; // <- at the top of your entry point Array; // => [1, 2, 3]1 2 3 4 5; // => [1, 2, 3, 4, 5]Promise; // => 32
You can load only required features:
; // <- at the top of your entry point; // <- at the top of your entry point; // <- at the top of your entry point; // <- at the top of your entry point Array; // => [1, 2, 3]1 2 3 4 5; // => [1, 2, 3, 4, 5]Promise; // => 32
Or use it without global namespace pollution:
;;;; ; // => [1, 2, 3]; // => [1, 2, 3, 4, 5]Promise; // => 32
It's a global version (first 2 examples), for more info see core-js
documentation.