{"name":"core-js","description":"Standard library","version":"2.0.0-alpha","repository":{"type":"git","url":"git+https://github.com/zloirock/core-js.git"},"main":"index.js","devDependencies":{"webpack":"1.12.x","LiveScript":"1.3.x","grunt":"0.4.x","grunt-cli":"0.1.x","grunt-livescript":"0.5.x","grunt-contrib-uglify":"0.11.x","grunt-contrib-watch":"0.6.x","grunt-contrib-clean":"0.7.x","grunt-contrib-copy":"0.8.x","grunt-karma":"0.12.x","karma":"0.13.x","karma-qunit":"0.1.x","karma-chrome-launcher":"0.2.x","karma-ie-launcher":"0.2.x","karma-firefox-launcher":"0.1.x","karma-phantomjs-launcher":"0.2.x","promises-aplus-tests":"2.1.x","eslint":"1.10.x","temp":"0.8.x"},"scripts":{"grunt":"grunt","lint":"eslint es5 es6 es7 web core fn modules","promises-tests":"promises-aplus-tests tests/promises-aplus/adapter","test":"npm run lint && npm run grunt livescript client karma:continuous library karma:continuous-library && npm run promises-tests && lsc tests/commonjs"},"license":"MIT","keywords":["ES5","ECMAScript 5","ES6","ECMAScript 6","ES7","ECMAScript 7","Harmony","Strawman","Map","Set","WeakMap","WeakSet","Promise","Symbol","setImmediate","Dict","partial application"],"gitHead":"3483ed3cd3cd51436b7286bb7635ea03d5ec2045","bugs":{"url":"https://github.com/zloirock/core-js/issues"},"homepage":"https://github.com/zloirock/core-js#readme","_id":"core-js@2.0.0-alpha","_shasum":"93726eab4be3627c8fbc8d889a8a41571a9487c4","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.1.0","_npmUser":{"name":"zloirock","email":"zloirock@zloirock.ru"},"dist":{"shasum":"93726eab4be3627c8fbc8d889a8a41571a9487c4","tarball":"http://registry-npm.ywwl.com/core-js/download/core-js-2.0.0-alpha.tgz","integrity":"sha512-QoEavqtJTTUVja4Pm+ps8lqwut0KaMUPIYEV69Q1xH5JkHtwNVXykiplrSkcuc83QKvulsPAi65f36x1xqOWJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOuRJgpJDd7Uwo1eiD+IjwST0qhO5PDAlfUQ6r8ttuxwIgQ83fC3axJrXMZldFn3hu7eu/nnKFZNPljsaOsY5MURk="}],"size":393891,"noattachment":false,"key":"/core-js/-/core-js-2.0.0-alpha.tgz"},"maintainers":[{"name":"zloirock","email":"zloirock@zloirock.ru"}],"directories":{},"deprecated":"core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.","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":1448475398626,"_cnpm_publish_time":1448475398626,"dist-tags":{"alpha":"4.0.0-alpha.1","beta":"3.0.0-beta.20","latest":"3.51.0"}}