{"name":"string.prototype.includes","version":"1.0.0","description":"A robust & optimized `String.prototype.includes` polyfill, based on the ECMAScript 6 specification.","homepage":"https://mths.be/includes","main":"includes.js","keywords":["string","includes","es6","ecmascript","polyfill"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/String.prototype.includes.git"},"bugs":{"url":"https://github.com/mathiasbynens/String.prototype.includes/issues"},"files":["LICENSE-MIT.txt","includes.js"],"scripts":{"test":"node tests/tests.js","cover":"istanbul cover --report html --verbose --dir coverage tests/tests.js"},"gitHead":"caa4a5561f8520eecd6f7cc743e8f9aecb6a55a3","_id":"string.prototype.includes@1.0.0","_shasum":"829361cef8ffb927def93ccd5373d9dcc37ee7af","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.32","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}],"dist":{"shasum":"829361cef8ffb927def93ccd5373d9dcc37ee7af","tarball":"http://registry-npm.ywwl.com/string.prototype.includes/download/string.prototype.includes-1.0.0.tgz","integrity":"sha512-CQISPErVwGVgZhM12HCHg9/5XR4LZBhB/dQVvA64g4q/X17TM5Q54NxEj10EBHyy85s601S8qp3y63ZGvs5GAg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdzp29KZAvRTaFbtVofVRkx4ztQJDgwjQybTlptby4tgIgbeiYvjEo/SzwPd4MsLlgazBIgpCJCklLhCyeNovdIXQ="}],"size":2636,"noattachment":false,"key":"/string.prototype.includes/-/string.prototype.includes-1.0.0.tgz"},"directories":{},"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","publish_time":1416472009067,"_cnpm_publish_time":1416472009067,"dist-tags":{"latest":"2.0.1"}}