{"name":"core-js","version":"3.41.0","type":"commonjs","description":"Standard library","keywords":["ES3","ES5","ES6","ES7","ES2015","ES2016","ES2017","ES2018","ES2019","ES2020","ES2021","ES2022","ES2023","ES2024","ECMAScript 3","ECMAScript 5","ECMAScript 6","ECMAScript 7","ECMAScript 2015","ECMAScript 2016","ECMAScript 2017","ECMAScript 2018","ECMAScript 2019","ECMAScript 2020","ECMAScript 2021","ECMAScript 2022","ECMAScript 2023","ECMAScript 2024","Map","Set","WeakMap","WeakSet","TypedArray","Promise","Observable","Symbol","Iterator","AsyncIterator","URL","URLSearchParams","queueMicrotask","setImmediate","structuredClone","polyfill","ponyfill","shim"],"repository":{"type":"git","url":"git+https://github.com/zloirock/core-js.git","directory":"packages/core-js"},"funding":{"type":"opencollective","url":"https://opencollective.com/core-js"},"license":"MIT","author":{"name":"Denis Pushkarev","email":"zloirock@zloirock.ru","url":"http://zloirock.ru"},"main":"index.js","scripts":{"postinstall":"node -e \"try{require('./postinstall')}catch(e){}\""},"_id":"core-js@3.41.0","gitHead":"149541a1b17cb8ae2a8c85d35d027dad99f78501","bugs":{"url":"https://github.com/zloirock/core-js/issues"},"homepage":"https://github.com/zloirock/core-js#readme","_nodeVersion":"23.8.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-SJ4/EHwS36QMJd6h/Rg+GyR4A5xE0FSI3eZ+iBVpfqf1x0eTSg1smWLHrA+2jQThZSh97fmSgFSU8B61nxosxA==","shasum":"57714dafb8c751a6095d028a7428f1fb5834a776","tarball":"http://registry-npm.ywwl.com/core-js/download/core-js-3.41.0.tgz","fileCount":3577,"unpackedSize":1265563,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCl08fcLXouK537rhFYPBRRp57XcMCCkaUkqAD8pItIxAIhAKeMd06TzgEsPPMF1BScTWsVikrdfjlAqYfvvXUnDHY6"}],"size":296196,"noattachment":false,"key":"/core-js/-/core-js-3.41.0.tgz"},"_npmUser":{"name":"zloirock","email":"zloirock@zloirock.ru"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core-js_3.41.0_1740848174811_0.8107998349806258"},"_hasShrinkwrap":false,"readme":"![logo](https://user-images.githubusercontent.com/2213682/146607186-8e13ddef-26a4-4ebf-befd-5aac9d77c090.png)\n\n<div align=\"center\">\n\n[![fundraising](https://opencollective.com/core-js/all/badge.svg?label=fundraising)](https://opencollective.com/core-js) [![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/zloirock/core-js/blob/master/CONTRIBUTING.md) [![version](https://img.shields.io/npm/v/core-js.svg)](https://www.npmjs.com/package/core-js) [![core-js downloads](https://img.shields.io/npm/dm/core-js.svg?label=npm%20i%20core-js)](https://npm-stat.com/charts.html?package=core-js&package=core-js-pure&package=core-js-compat&from=2014-11-18)\n\n</div>\n\n**I highly recommend reading this: [So, what's next?](https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md)**\n---\n\n> Modular standard library for JavaScript. Includes polyfills for [ECMAScript up to 2023](https://github.com/zloirock/core-js#ecmascript): [promises](https://github.com/zloirock/core-js#ecmascript-promise), [symbols](https://github.com/zloirock/core-js#ecmascript-symbol), [collections](https://github.com/zloirock/core-js#ecmascript-collections), iterators, [typed arrays](https://github.com/zloirock/core-js#ecmascript-typed-arrays), many other features, [ECMAScript proposals](https://github.com/zloirock/core-js#ecmascript-proposals), [some cross-platform WHATWG / W3C features and proposals](#web-standards) like [`URL`](https://github.com/zloirock/core-js#url-and-urlsearchparams). You can load only required features or use it without global namespace pollution.\n\n## Raising funds\n\n`core-js` isn't backed by a company, so the future of this project depends on you. Become a sponsor or a backer if you are interested in `core-js`: [**Open Collective**](https://opencollective.com/core-js), [**Patreon**](https://patreon.com/zloirock), [**Boosty**](https://boosty.to/zloirock), **Bitcoin ( bc1qlea7544qtsmj2rayg0lthvza9fau63ux0fstcz )**, [**Alipay**](https://user-images.githubusercontent.com/2213682/219464783-c17ad329-17ce-4795-82a7-f609493345ed.png).\n\n---\n\n<a href=\"https://opencollective.com/core-js/sponsor/0/website\" target=\"_blank\"><img src=\"https://opencollective.com/core-js/sponsor/0/avatar.svg\"></a><a href=\"https://opencollective.com/core-js/sponsor/1/website\" target=\"_blank\"><img src=\"https://opencollective.com/core-js/sponsor/1/avatar.svg\"></a><a href=\"https://opencollective.com/core-js/sponsor/2/website\" target=\"_blank\"><img src=\"https://opencollective.com/core-js/sponsor/2/avatar.svg\"></a><a href=\"https://opencollective.com/core-js/sponsor/3/website\" target=\"_blank\"><img src=\"https://opencollective.com/core-js/sponsor/3/avatar.svg\"></a><a href=\"https://opencollective.com/core-js/sponsor/4/website\" target=\"_blank\"><img src=\"https://opencollective.com/core-js/sponsor/4/avatar.svg\"></a><a href=\"https://opencollective.com/core-js/sponsor/5/website\" target=\"_blank\"><img src=\"https://opencollective.com/core-js/sponsor/5/avatar.svg\"></a><a href=\"https://opencollective.com/core-js/sponsor/6/website\" target=\"_blank\"><img src=\"https://opencollective.com/core-js/sponsor/6/avatar.svg\"></a><a href=\"https://opencollective.com/core-js/sponsor/7/website\" target=\"_blank\"><img src=\"https://opencollective.com/core-js/sponsor/7/avatar.svg\"></a><a href=\"https://opencollective.com/core-js/sponsor/8/website\" target=\"_blank\"><img src=\"https://opencollective.com/core-js/sponsor/8/avatar.svg\"></a><a href=\"https://opencollective.com/core-js/sponsor/9/website\" target=\"_blank\"><img src=\"https://opencollective.com/core-js/sponsor/9/avatar.svg\"></a><a href=\"https://opencollective.com/core-js/sponsor/10/website\" target=\"_blank\"><img src=\"https://opencollective.com/core-js/sponsor/10/avatar.svg\"></a><a href=\"https://opencollective.com/core-js/sponsor/11/website\" target=\"_blank\"><img src=\"https://opencollective.com/core-js/sponsor/11/avatar.svg\"></a>\n\n---\n\n<a href=\"https://opencollective.com/core-js#backers\" target=\"_blank\"><img src=\"https://opencollective.com/core-js/backers.svg?width=890\"></a>\n\n---\n\n[*Example of usage*](https://tinyurl.com/2mknex43):\n```js\nimport 'core-js/actual';\n\nPromise.resolve(42).then(it => console.log(it)); // => 42\n\nArray.from(new Set([1, 2, 3]).union(new Set([3, 4, 5]))); // => [1, 2, 3, 4, 5]\n\n[1, 2].flatMap(it => [it, it]); // => [1, 1, 2, 2]\n\n(function * (i) { while (true) yield i++; })(1)\n  .drop(1).take(5)\n  .filter(it => it % 2)\n  .map(it => it ** 2)\n  .toArray(); // => [9, 25]\n\nstructuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3])\n```\n\n*You can load only required features*:\n```js\nimport 'core-js/actual/promise';\nimport 'core-js/actual/set';\nimport 'core-js/actual/iterator';\nimport 'core-js/actual/array/from';\nimport 'core-js/actual/array/flat-map';\nimport 'core-js/actual/structured-clone';\n\nPromise.resolve(42).then(it => console.log(it)); // => 42\n\nArray.from(new Set([1, 2, 3]).union(new Set([3, 4, 5]))); // => [1, 2, 3, 4, 5]\n\n[1, 2].flatMap(it => [it, it]); // => [1, 1, 2, 2]\n\n(function * (i) { while (true) yield i++; })(1)\n  .drop(1).take(5)\n  .filter(it => it % 2)\n  .map(it => it ** 2)\n  .toArray(); // => [9, 25]\n\nstructuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3])\n```\n\n*Or use it without global namespace pollution*:\n```js\nimport Promise from 'core-js-pure/actual/promise';\nimport Set from 'core-js-pure/actual/set';\nimport Iterator from 'core-js-pure/actual/iterator';\nimport from from 'core-js-pure/actual/array/from';\nimport flatMap from 'core-js-pure/actual/array/flat-map';\nimport structuredClone from 'core-js-pure/actual/structured-clone';\n\nPromise.resolve(42).then(it => console.log(it)); // => 42\n\nfrom(new Set([1, 2, 3]).union(new Set([3, 4, 5]))); // => [1, 2, 3, 4, 5]\n\nflatMap([1, 2], it => [it, it]); // => [1, 1, 2, 2]\n\nIterator.from(function * (i) { while (true) yield i++; }(1))\n  .drop(1).take(5)\n  .filter(it => it % 2)\n  .map(it => it ** 2)\n  .toArray(); // => [9, 25]\n\nstructuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3])\n```\n\n**It's a global version (first 2 examples), for more info see [`core-js` documentation](https://github.com/zloirock/core-js/blob/master/README.md).**\n","publish_time":1740848175102,"maintainers":[{"name":"zloirock","email":"zloirock@zloirock.ru"}],"_cnpm_publish_time":1740848175102,"dist-tags":{"alpha":"4.0.0-alpha.1","beta":"3.0.0-beta.20","latest":"3.51.0"}}