{"name":"string.prototype.codepointat","version":"0.2.1","description":"A robust & optimized `String.prototype.codePointAt` polyfill, based on the ECMAScript 6 specification.","homepage":"https://mths.be/codepointat","main":"codepointat.js","keywords":["string","unicode","es6","ecmascript","polyfill"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/String.prototype.codePointAt.git"},"bugs":{"url":"https://github.com/mathiasbynens/String.prototype.codePointAt/issues"},"files":["LICENSE-MIT.txt","codepointat.js"],"scripts":{"test":"node tests/tests.js","cover":"istanbul cover --report html --verbose --dir coverage tests/tests.js"},"gitHead":"97ab3d38e77970dcc0b62bd4e11fbb415f4232da","_id":"string.prototype.codepointat@0.2.1","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"dist":{"integrity":"sha512-2cBVCj6I4IOvEnjgO/hWqXjqBGsY+zwPmHl12Srk9IXSZ56Jwwmy+66XO5Iut/oQVR7t5ihYdLB0GMa4alEUcg==","shasum":"004ad44c8afc727527b108cd462b4d971cd469bc","tarball":"http://registry-npm.ywwl.com/string.prototype.codepointat/download/string.prototype.codepointat-0.2.1.tgz","fileCount":4,"unpackedSize":5382,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3/442MlZVsnfs6WoLZXuuHH+LfsrvRTAi8C7q4SN1FgIhAKCkREGOWdptsFmCv8BRzeNO73ff39pmB3l2OTbC7uoU"}],"size":2673,"noattachment":false,"key":"/string.prototype.codepointat/-/string.prototype.codepointat-0.2.1.tgz"},"maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string.prototype.codepointat_0.2.1_1521500817089_0.190378170245602"},"_hasShrinkwrap":false,"readme":"# ES6 `String.prototype.codePointAt` polyfill [![Build status](https://travis-ci.org/mathiasbynens/String.prototype.codePointAt.svg?branch=master)](https://travis-ci.org/mathiasbynens/String.prototype.codePointAt)\n\nA robust & optimized polyfill for [the `String.prototype.codePointAt` method in ECMAScript 6](http://people.mozilla.org/~jorendorff/es6-draft.html#sec-string.prototype.codepointat).\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.codepointat).\n\nOther polyfills for `String.prototype.codePointAt` are available:\n\n* <http://norbertlindenberg.com/2012/05/ecmascript-supplementary-characters/#String> by [Norbert Lindenberg](http://norbertlindenberg.com/) (fails some tests)\n* <https://gist.github.com/slevithan/2290602> by [Steven Levithan](http://stevenlevithan.com/) (fails some tests)\n* <https://github.com/paulmillr/es6-shim/blob/8e570a4b425a80f9b13ff027dbd28d65f201a319/es6-shim.js#L171-L183> by [Paul Miller](http://paulmillr.com/) (~~[fails some tests](https://github.com/paulmillr/es6-shim/issues/166)~~ passes all tests)\n\n## Installation\n\nVia [npm](http://npmjs.org/):\n\n```bash\nnpm install string.prototype.codepointat\n```\n\nThen, in [Node.js](http://nodejs.org/):\n\n```js\nrequire('string.prototype.codepointat');\n\n// On Windows and on Mac systems with default settings, case doesn’t matter,\n// which allows you to do this instead:\nrequire('String.prototype.codePointAt');\n```\n\nIn a browser:\n\n```html\n<script src=\"https://bundle.run/string.prototype.codepointat\"></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\n[A polyfill + test suite for `String.fromCodePoint`](https://mths.be/fromcodepoint) is 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":1521500817135,"_cnpm_publish_time":1521500817135,"dist-tags":{"latest":"1.0.2"}}