{"name":"string.prototype.codepointat","version":"1.0.1","keywords":["string","unicode","es6","ecmascript","polyfill"],"author":{"url":"https://mathiasbynens.be/","name":"Mathias Bynens"},"license":"MIT","_id":"string.prototype.codepointat@1.0.1","maintainers":[{"name":"mathias","email":"mathias@qiwi.be"},{"name":"nicolo-ribaudo","email":"nicolo.ribaudo@gmail.com"},{"name":"google-wombot","email":"node-team-npm+wombot@google.com"}],"homepage":"https://mths.be/codepointat","bugs":{"url":"https://github.com/mathiasbynens/String.prototype.codePointAt/issues"},"dist":{"shasum":"1e360728c6b98e2eaf857df8531903dc7f64987b","tarball":"http://registry-npm.ywwl.com/string.prototype.codepointat/download/string.prototype.codepointat-1.0.1.tgz","fileCount":20,"integrity":"sha512-heQeKGNRtmORo8h6iPCRy+qShkU3rwt4x8zYPbRRije3DTpMh/osT9oLJ8QT6JeawevxwxvPq2voLAWuwkGhVA==","signatures":[{"sig":"MEQCIGhB5pOz4gKEiYpKwkwo+EOaIPXhyvXp5FNKqHO6E8PYAiBZ3QVd+WDFLY7vmspNKR5BgSN529GT/Zhr65RUYlBd6w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15180,"size":5480,"noattachment":false,"key":"/string.prototype.codepointat/-/string.prototype.codepointat-1.0.1.tgz"},"main":"index.js","engines":{"node":">= 0.4"},"exports":{".":"./index.js","./auto":"./auto.js","./shim":"./shim.js","./polyfill":"./polyfill.js","./package.json":"./package.json","./implementation":"./implementation.js"},"gitHead":"eeaf108804a131c037687e54439cc08f87a501b0","scripts":{"lint":"eslint --ext=js,mjs .","test":"npm run tests-only","pretest":"npm run lint","postlint":"es-shim-api --bound","posttest":"npx npm@'>=10.2' audit --production","tests-only":"tape 'tests/*.js'"},"_npmUser":{"name":"nicolo-ribaudo","email":"nicolo.ribaudo@gmail.com"},"repository":{"url":"git+https://github.com/mathiasbynens/String.prototype.codePointAt.git","type":"git"},"_npmVersion":"10.8.3","description":"A robust & optimized `String.prototype.codePointAt` polyfill, based on the ECMAScript 6 specification.","directories":{"test":"tests"},"_nodeVersion":"20.18.0","dependencies":{"call-bind":"^1.0.7","es-abstract":"^1.23.3"},"_hasShrinkwrap":false,"devDependencies":{"tape":"^5.9.0","eslint":"=8.8.0","istanbul":"^0.4.5","@es-shims/api":"^2.5.1","function-bind":"^1.1.2","has-strict-mode":"^1.0.1","define-properties":"^1.2.1","functions-have-names":"^1.2.3","@ljharb/eslint-config":"^21.1.1"},"_npmOperationalInternal":{"tmp":"tmp/string.prototype.codepointat_1.0.1_1729175725336_0.000682640098238041","host":"s3://npm-registry-packages"},"readme":"# ES6 `String.prototype.codePointAt` polyfill  [![string.prototype.codepointat on npm](https://img.shields.io/npm/v/string.prototype.codepointat)](https://www.npmjs.com/package/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## 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 -m 'Release v%s'\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","publish_time":1729175725588,"_cnpm_publish_time":1729175725588,"dist-tags":{"latest":"1.0.2"}}