{"_id":"string.prototype.startswith","_rev":"11-852c42e46d61b1a04f106afd59da5176","name":"string.prototype.startswith","dist-tags":{"latest":"1.0.1"},"versions":{"0.1.0":{"name":"string.prototype.startswith","version":"0.1.0","keywords":["string","startswith","es6","ecmascript","polyfill"],"author":{"url":"http://mathiasbynens.be/","name":"Mathias Bynens"},"_id":"string.prototype.startswith@0.1.0","maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}],"homepage":"http://mths.be/startswith","bugs":{"url":"https://github.com/mathiasbynens/String.prototype.startsWith/issues"},"dist":{"shasum":"ac7b3c3c64b0feb6248a410548fbf1ca8d1b2f0c","tarball":"https://registry.npmjs.org/string.prototype.startswith/-/string.prototype.startswith-0.1.0.tgz","integrity":"sha512-5w01sobWksVJIumhJIcbFj6oFXHILvj8B91zTqknhqNiPbl6ELRoY3do4tHZXHeZjyzP0qxfSUG8ZMmdVT5dRA==","signatures":[{"sig":"MEQCIDQab1qIp7c2mvzlIL9+IMcVxyCs1NkffyRo40iOZFNjAiAPgkD80J7cL2++7R87HeBU9EKFzuPg8g5qDsAgkSN0dQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"startswith.js","_from":".","files":["LICENSE-MIT.txt","startswith.js"],"scripts":{"test":"node tests/tests.js","cover":"istanbul cover --report html --verbose --dir coverage tests/tests.js"},"_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"licenses":[{"url":"http://mths.be/mit","type":"MIT"}],"repository":{"url":"https://github.com/mathiasbynens/String.prototype.startsWith.git","type":"git"},"_npmVersion":"1.3.21","description":"A robust & optimized `String.prototype.startsWith` polyfill, based on the ECMAScript 6 specification.","directories":{"test":"tests"}},"0.2.0":{"name":"string.prototype.startswith","version":"0.2.0","keywords":["string","startswith","es6","ecmascript","polyfill"],"author":{"url":"http://mathiasbynens.be/","name":"Mathias Bynens"},"_id":"string.prototype.startswith@0.2.0","maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}],"homepage":"http://mths.be/startswith","bugs":{"url":"https://github.com/mathiasbynens/String.prototype.startsWith/issues"},"dist":{"shasum":"da68982e353a4e9ac4a43b450a2045d1c445ae7b","tarball":"https://registry.npmjs.org/string.prototype.startswith/-/string.prototype.startswith-0.2.0.tgz","integrity":"sha512-4Rj/0GFJbva6TUkI5gC/MOwJrcY19CvgIAqLlTpKhGJVoHiWtXh5UWSX9uGE3Es4eUhFSoWJ0RVCt9j3QcK7IQ==","signatures":[{"sig":"MEUCIBFrrHHFSkDlpWrCgQD6qiTYXPZswwtzp9iIzAQn1wJEAiEAwDNszKUpfmTlDy5Oasi+cSas2mGnW/o8Iq/2IqMPDIs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"startswith.js","_from":".","files":["LICENSE-MIT.txt","startswith.js"],"scripts":{"test":"node tests/tests.js","cover":"istanbul cover --report html --verbose --dir coverage tests/tests.js"},"_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"licenses":[{"url":"http://mths.be/mit","type":"MIT"}],"repository":{"url":"https://github.com/mathiasbynens/String.prototype.startsWith.git","type":"git"},"_npmVersion":"1.4.3","description":"A robust & optimized `String.prototype.startsWith` polyfill, based on the ECMAScript 6 specification.","directories":{"test":"tests"}},"1.0.0":{"name":"string.prototype.startswith","version":"1.0.0","keywords":["string","startswith","es6","ecmascript","polyfill"],"author":{"url":"https://mathiasbynens.be/","name":"Mathias Bynens"},"license":"MIT","_id":"string.prototype.startswith@1.0.0","maintainers":[{"name":"mathias","email":"mathias@qiwi.be"},{"name":"nicolo-ribaudo","email":"nicolo.ribaudo@gmail.com"}],"homepage":"https://mths.be/startswith","bugs":{"url":"https://github.com/mathiasbynens/String.prototype.startsWith/issues"},"dist":{"shasum":"92a361fb1ac172033d53eb1db3d659b0cfab6280","tarball":"https://registry.npmjs.org/string.prototype.startswith/-/string.prototype.startswith-1.0.0.tgz","fileCount":14,"integrity":"sha512-VHhsDkuf8gsw4JNRK9cIZjYe6r7PsVUutVohaBhqYAoPaRADoQH+mMgUg7Cs/TgQeDGEvI+PzPEMOdvdsCMvpg==","signatures":[{"sig":"MEUCIQC2on9a2LPEMpmWLd/wUiDQ5WBteVS1GWs37T5PbpG74QIgR9W+lfbGREe3Fh/uOg/g1k/aElK8SNeSc96fhKVWriE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18961,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexvm+CRA9TVsSAnZWagAA+c0QAKTXt6BiR1zdYZXZSJdz\nxp10IIESyaQk42Zh77kso8sxFXUDGTeApjKkbdM1AFP1++mKZj1xX3e32MDe\nCA1pMdNyhTZhpsFSvwPzNpOy+Vz5dSAXX9IXdzeUIzEv0ftK7BG4ubHMnzCa\noHQprruIyG4XBtR3VOyr4T8+DuRHd8S7eghEiWWmk79RgFZVrRUsCb9Hlf2x\n6fI5OwkfTrgZnVXqYTwBP4X9mlLRg3bDB3ggaGcr+pxo54oVfYvMS0pSKdfN\nSaxReYkSki1f/BH6C0BtxKILIwMYJH+woEbEkimL7KGChMsb/EnlkGe946rR\n1lTt7c2r1rJ+L8RY62tM6rPQVb3YT7gGFIcxnN+Hj72ekU1BskPkyq+gXK/K\ndCZLCJb4PW21w5rQ73bW1iIhhsHMhTk8K6PAwY3NAEkklR65LO/t7YmbeFmY\n/cQJ/vRitvCzO/zxvvGCDVOW6T7oU7erCMtHWRMJxDRZYqrte2eea8FeV7R6\nVZSs1FlZUnukTL3s6RJO34x+mm3xv3Id/+bZ4kBTeIAESMlT/AOd7umO4dQj\nyPxDxQOtvf+IdfUsZukdYywS+RUpGZTA4jT5sY5wrK6aqgy9cQVDqSy+ZWaf\nCrYhqVhW1sl45uIpNutKeoHSn/YulNn6WWCnE/Kn51y+XFL8o95UFh3Z+aii\nROeJ\r\n=B/oS\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":"61663f6f63a8d988fd059edb7edeee50066c632e","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.startsWith.git","type":"git"},"_npmVersion":"6.14.4","description":"A robust & optimized `String.prototype.startsWith` 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.startswith_1.0.0_1590098365957_0.14631712888224402","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"string.prototype.startswith","version":"1.0.1","description":"A robust & optimized `String.prototype.startsWith` polyfill, based on the ECMAScript 6 specification.","homepage":"https://mths.be/startswith","main":"index.js","exports":{".":"./index.js","./auto":"./auto.js","./polyfill":"./polyfill.js","./implementation":"./implementation.js","./shim":"./shim.js","./package.json":"./package.json"},"keywords":["string","startswith","es6","ecmascript","polyfill"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/String.prototype.startsWith.git"},"directories":{"test":"./tests"},"bugs":{"url":"https://github.com/mathiasbynens/String.prototype.startsWith/issues"},"scripts":{"pretest":"es-shim-api --bound","test":"npm run tests-only","tests-only":"tape 'tests/*.js'","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","functions-have-names":"^1.2.3","istanbul":"^0.4.5","tape":"^5.9.0"},"_id":"string.prototype.startswith@1.0.1","gitHead":"49c60b02d375b9a3a3d8b58a6d41ff9188f29fd1","_nodeVersion":"18.20.4","_npmVersion":"10.7.0","dist":{"integrity":"sha512-7FoHkxvUevSBxSBXqsJgQy+IwuSPVl1jF31FEagFxkKnNKnmRLcHY6cJgxy074qrFq9T0OE36OU5aPw+z1v0yw==","shasum":"623e2d013d93d3d2bbfbc9eed9e1010ba3f50ce8","tarball":"https://registry.npmjs.org/string.prototype.startswith/-/string.prototype.startswith-1.0.1.tgz","fileCount":15,"unpackedSize":19963,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID0S/+J0jREYr91B9eKlULGcdOz+vpdPW8OPPrSpuZRkAiEAi4MQ4dPuc0mF+l4rwkkknRG+JIP51ovOzbjPbKFHU6M="}]},"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"maintainers":[{"name":"mathias","email":"mathias@qiwi.be"},{"name":"google-wombot","email":"node-team-npm+wombot@google.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string.prototype.startswith_1.0.1_1727448246008_0.3178394419974173"},"_hasShrinkwrap":false}},"time":{"created":"2013-12-23T08:45:14.115Z","modified":"2024-09-27T14:44:06.397Z","0.1.0":"2013-12-23T08:45:14.115Z","0.2.0":"2014-04-10T18:25:05.587Z","1.0.0":"2020-05-21T21:59:26.072Z","1.0.1":"2024-09-27T14:44:06.216Z"},"bugs":{"url":"https://github.com/mathiasbynens/String.prototype.startsWith/issues"},"author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"license":"MIT","homepage":"https://mths.be/startswith","keywords":["string","startswith","es6","ecmascript","polyfill"],"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/String.prototype.startsWith.git"},"description":"A robust & optimized `String.prototype.startsWith` polyfill, based on the ECMAScript 6 specification.","maintainers":[{"name":"mathias","email":"mathias@qiwi.be"},{"name":"google-wombot","email":"node-team-npm+wombot@google.com"}],"readme":"# ES6 `String.prototype.startsWith` polyfill [![string.prototype.startswith on npm](https://img.shields.io/npm/v/string.prototype.startswith)](https://www.npmjs.com/package/string.prototype.startswith)\n\nA robust & optimized polyfill for [the `String.prototype.startsWith` method in ECMAScript 6](http://people.mozilla.org/~jorendorff/es6-draft.html#sec-string.prototype.startswith).\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.startswith).\n\nOther polyfills for `String.prototype.startsWith` are available:\n\n* <https://github.com/paulmillr/es6-shim/blob/d8c4ec246a15e7df55da60b7f9b745af84ca9021/es6-shim.js#L166-L173> by [Paul Miller](http://paulmillr.com/) (~~fails some tests: [1](https://github.com/paulmillr/es6-shim/issues/167), [2](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#L19-L37> by Google (~~[fails a lot of tests](https://github.com/google/traceur-compiler/pull/554)~~ now uses this polyfill and passes all tests)\n\n## Installation\n\nVia [npm](http://npmjs.org/):\n\n```bash\nnpm install string.prototype.startswith\n```\n\nThen, in [Node.js](http://nodejs.org/):\n\n```js\nvar startsWith = require('string.prototype.startswith');\n```\n\nIn a browser:\n\n```html\n<script src=\"https://bundle.run/string.prototype.startswith\"></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.endsWith`](https://mths.be/endswith) and [`String.prototype.contains`](https://mths.be/contains) are available, too.\n\n## For maintainers\n\n### How to publish a new release\n\n1. On the `main` branch, bump the version number in `package.json`:\n\n    ```sh\n    npm version patch\n    ```\n\n    Instead of `patch`, use `minor` or `major` [as needed](https://semver.org/).\n\n    Note that this produces a Git commit + tag.\n\n1. Push the release commit and tag:\n\n    ```sh\n    git push && git push --tags\n    ```\n\n    Our CI then automatically publishes the new release to npm.\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"}