{"_id":"string.prototype.includes","_rev":"8-e970a14649154c92d6b8f4ac5cbd00be","name":"string.prototype.includes","dist-tags":{"latest":"2.0.1"},"versions":{"1.0.0":{"name":"string.prototype.includes","version":"1.0.0","keywords":["string","includes","es6","ecmascript","polyfill"],"author":{"url":"https://mathiasbynens.be/","name":"Mathias Bynens"},"license":"MIT","_id":"string.prototype.includes@1.0.0","maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}],"homepage":"https://mths.be/includes","bugs":{"url":"https://github.com/mathiasbynens/String.prototype.includes/issues"},"dist":{"shasum":"829361cef8ffb927def93ccd5373d9dcc37ee7af","tarball":"https://registry.npmjs.org/string.prototype.includes/-/string.prototype.includes-1.0.0.tgz","integrity":"sha512-CQISPErVwGVgZhM12HCHg9/5XR4LZBhB/dQVvA64g4q/X17TM5Q54NxEj10EBHyy85s601S8qp3y63ZGvs5GAg==","signatures":[{"sig":"MEUCIQCdzp29KZAvRTaFbtVofVRkx4ztQJDgwjQybTlptby4tgIgbeiYvjEo/SzwPd4MsLlgazBIgpCJCklLhCyeNovdIXQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"includes.js","_from":".","files":["LICENSE-MIT.txt","includes.js"],"_shasum":"829361cef8ffb927def93ccd5373d9dcc37ee7af","gitHead":"caa4a5561f8520eecd6f7cc743e8f9aecb6a55a3","scripts":{"test":"node tests/tests.js","cover":"istanbul cover --report html --verbose --dir coverage tests/tests.js"},"_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"repository":{"url":"https://github.com/mathiasbynens/String.prototype.includes.git","type":"git"},"_npmVersion":"2.1.6","description":"A robust & optimized `String.prototype.includes` polyfill, based on the ECMAScript 6 specification.","directories":{},"_nodeVersion":"0.10.32"},"2.0.0":{"name":"string.prototype.includes","version":"2.0.0","keywords":["string","includes","es6","ecmascript","polyfill"],"author":{"url":"https://mathiasbynens.be/","name":"Mathias Bynens"},"license":"MIT","_id":"string.prototype.includes@2.0.0","maintainers":[{"name":"mathias","email":"mathias@qiwi.be"},{"name":"nicolo-ribaudo","email":"nicolo.ribaudo@gmail.com"}],"homepage":"https://mths.be/includes","bugs":{"url":"https://github.com/mathiasbynens/String.prototype.includes/issues"},"dist":{"shasum":"8986d57aee66d5460c144620a6d873778ad7289f","tarball":"https://registry.npmjs.org/string.prototype.includes/-/string.prototype.includes-2.0.0.tgz","fileCount":14,"integrity":"sha512-E34CkBgyeqNDcrbU76cDjL5JLcVrtSdYq0MEh/B10r17pRP4ciHLwTgnuLV8Ay6cgEMLkcBkFCKyFZ43YldYzg==","signatures":[{"sig":"MEUCIG/ebNnodoT0vlhT3diIVZE18AUEmWJlVu9yfZZlH+GZAiEAy9r2yQPrLpQK2xSOjHoXIliki2VLmM3D8LKyeCRsh04=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13768,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexvudCRA9TVsSAnZWagAAVfYP/ioyllybid4knzsRGaXt\nBfg/UYSxqK6LpAihpNhtK5J61m+o59Kp8wt0ObFZydums/TqY+98gCq58Pxe\nNmq9eUwewbDOqDp5+BmeY/0JglDvFE2w8FoqkwSTNJpxnYBLLNoyGQCiucHA\n45KDKvE5z6ap6k5Ft5zpROzKqW9cXknAYlwmAssypgj9YReLVRPmThQUTPKF\nEzMF6SlgE1BFBkpcaJ8PWmWRWOXDprSrSv358c3uR53HCQ2J5BEMGeBDwso5\nvAfPH+QVHZzVJhT2EakaCEFF1c1xITwxOofhJm4cU7LPHXDCT/8+WxmaEatW\n/cK2snElDwzLsPZkKbcxOcuOAgjDdmXCKnlBjEsUPURoNutDclo8u/QKWi93\ndg9doE2+wpR1DR32qUJWN8+EWSu7M9N2k8ryYIAQ8tCuyADor+0mNSFzIQ4Q\nVQHfKa+pFwCRrFFXg7bL+lE+5eGrGwwqYU++dVbDp9VeOdShsjNGudxvnQOA\nRO2ZEAWk27PUpIvLE+pINkmYtcXsqbVbePR+sKvWyY+mxHG58KzPaLqzp2pM\nSuPT/icfSQiSnLN9cXoAlI/0089dH3r/scb87WRrRSqhCj21MyasjxHTqTKC\nZlDA5vGAtUM6NkN03Lv/jPql258XIhbNRKDO+DZWF2oak5T0HUdoKZMRi3DL\n01+t\r\n=yufo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","exports":{".":"./index.js","./auto":"./auto.js","./shim":"./shim.js","./getPolyfill":"./getPolyfill.js","./package.json":"./package.json","./implementation":"./implementation.js"},"gitHead":"e0ce68856b4a2241a08d1b830140577c0cad792b","scripts":{"test":"npm run tests-only","cover":"istanbul cover --report html --verbose --dir coverage tape 'tests/*.js'","pretest":"es-shim-api --bound","tests-only":"tape 'tests/*.js'"},"_npmUser":{"name":"nicolo-ribaudo","email":"nicolo.ribaudo@gmail.com"},"repository":{"url":"git+https://github.com/mathiasbynens/String.prototype.includes.git","type":"git"},"_npmVersion":"6.14.4","description":"A robust & optimized `String.prototype.includes` polyfill, based on the ECMAScript 6 specification.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"es-abstract":"^1.17.5","define-properties":"^1.1.3"},"_hasShrinkwrap":false,"devDependencies":{"tape":"^5.0.0","istanbul":"^0.4.5","@es-shims/api":"^2.1.2","function-bind":"^1.1.1","functions-have-names":"^1.2.1"},"_npmOperationalInternal":{"tmp":"tmp/string.prototype.includes_2.0.0_1590098844785_0.14042737134226413","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"string.prototype.includes","version":"2.0.1","description":"A robust & optimized `String.prototype.includes` polyfill, based on the ECMAScript 6 specification.","homepage":"https://mths.be/includes","main":"index.js","exports":{".":"./index.js","./auto":"./auto.js","./polyfill":"./polyfill.js","./implementation":"./implementation.js","./shim":"./shim.js","./package.json":"./package.json"},"keywords":["string","includes","es6","ecmascript","polyfill"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/String.prototype.includes.git"},"bugs":{"url":"https://github.com/mathiasbynens/String.prototype.includes/issues"},"scripts":{"lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","pretest":"npm run lint","test":"npm run tests-only","tests-only":"tape 'tests/*.js'","posttest":"npx npm@'>=10.2' audit --production","cover":"istanbul cover --report html --verbose --dir coverage tape 'tests/*.js'"},"dependencies":{"call-bind":"^1.0.7","define-properties":"^1.2.1","es-abstract":"^1.23.3"},"devDependencies":{"@es-shims/api":"^2.5.1","@ljharb/eslint-config":"^21.1.1","eslint":"=8.8.0","functions-have-names":"^1.2.3","istanbul":"^0.4.5","mock-property":"^1.1.0","tape":"^5.9.0"},"engines":{"node":">= 0.4"},"directories":{"test":"tests"},"_id":"string.prototype.includes@2.0.1","gitHead":"619300c92e48fe273a535b6de36a9336e38f8f17","_nodeVersion":"20.18.0","_npmVersion":"10.8.3","dist":{"integrity":"sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg==","shasum":"eceef21283640761a81dbe16d6c7171a4edf7d92","tarball":"https://registry.npmjs.org/string.prototype.includes/-/string.prototype.includes-2.0.1.tgz","fileCount":21,"unpackedSize":16188,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGJU4YCCria2bVxBtCALfzWPAqhx6w8OTC115Iq3AKenAiAnJ0D9vQTR/y6qgEaRN49swuZGLAk5C4F+ZMk3sCtGFg=="}]},"_npmUser":{"name":"nicolo-ribaudo","email":"nicolo.ribaudo@gmail.com"},"maintainers":[{"name":"mathias","email":"mathias@qiwi.be"},{"name":"nicolo-ribaudo","email":"nicolo.ribaudo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string.prototype.includes_2.0.1_1728975988546_0.5359719366184932"},"_hasShrinkwrap":false}},"time":{"created":"2014-11-20T08:26:49.067Z","modified":"2024-10-15T07:06:28.920Z","1.0.0":"2014-11-20T08:26:49.067Z","2.0.0":"2020-05-21T22:07:24.924Z","2.0.1":"2024-10-15T07:06:28.745Z"},"bugs":{"url":"https://github.com/mathiasbynens/String.prototype.includes/issues"},"author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"license":"MIT","homepage":"https://mths.be/includes","keywords":["string","includes","es6","ecmascript","polyfill"],"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/String.prototype.includes.git"},"description":"A robust & optimized `String.prototype.includes` polyfill, based on the ECMAScript 6 specification.","maintainers":[{"name":"mathias","email":"mathias@qiwi.be"},{"name":"nicolo-ribaudo","email":"nicolo.ribaudo@gmail.com"}],"readme":"# ES6 `String.prototype.includes` polyfill [![Build status](https://travis-ci.org/mathiasbynens/String.prototype.includes.svg?branch=master)](https://travis-ci.org/mathiasbynens/String.prototype.includes)\n\nA robust & optimized polyfill for [the `String.prototype.includes` method (previously known as `String.prototype.contains`) in ECMAScript 6](http://people.mozilla.org/~jorendorff/es6-draft.html#sec-string.prototype.includes).\n\nThis package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the [spec](https://tc39.es/ecma262/#sec-string.prototype.includes).\n\nOther polyfills for `String.prototype.includes` are available:\n\n* <https://github.com/paulmillr/es6-shim/blob/d8c4ec246a15e7df55da60b7f9b745af84ca9021/es6-shim.js#L186-L190> by [Paul Miller](http://paulmillr.com/) (~~[fails some tests](https://github.com/paulmillr/es6-shim/issues/175)~~ passes all tests)\n* <https://github.com/google/traceur-compiler/blob/315bdad05d41de46d25337422d66686d63100d7a/src/runtime/polyfills/String.js#L68-L86> by Google (~~[fails a lot of tests](https://github.com/google/traceur-compiler/pull/556)~~ now uses this polyfill and passes all tests)\n\n## Installation\n\nVia [npm](http://npmjs.org/):\n\n```bash\nnpm install string.prototype.includes\n```\n\nThen, in [Node.js](http://nodejs.org/):\n\n```js\nvar includes = require('string.prototype.includes');\n```\n\nIn a browser:\n\n```html\n<script src=\"https://bundle.run/string.prototype.includes\"></script>\n```\n\n> **NOTE**: It's recommended that you install this module using a package manager\n> such as `npm`, because loading multiple polyfills from a CDN (such as `bundle.run`)\n> will lead to duplicated code.\n\n## Notes\n\nPolyfills + test suites for [`String.prototype.startsWith`](https://mths.be/startswith) and [`String.prototype.endsWith`](https://mths.be/endswith) are available, too.\n\n## Author\n\n| [![twitter/mathias](https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias \"Follow @mathias on Twitter\") |\n|---|\n| [Mathias Bynens](https://mathiasbynens.be/) |\n\n## License\n\nThis polyfill is available under the [MIT](https://mths.be/mit) license.\n","readmeFilename":"README.md"}