{"id":13804795,"url":"https://github.com/mathiasbynens/String.prototype.codePointAt","last_synced_at":"2025-05-13T18:32:48.695Z","repository":{"id":57372631,"uuid":"12971694","full_name":"mathiasbynens/String.prototype.codePointAt","owner":"mathiasbynens","description":"A robust \u0026 optimized `String.prototype.codePointAt` polyfill, based on the ECMAScript 6 specification.","archived":false,"fork":false,"pushed_at":"2024-10-17T14:35:07.000Z","size":43,"stargazers_count":55,"open_issues_count":0,"forks_count":6,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-05T10:01:43.754Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://mths.be/codepointat","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mathiasbynens.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-09-20T11:25:10.000Z","updated_at":"2025-03-09T14:42:29.000Z","dependencies_parsed_at":"2024-05-03T09:14:02.295Z","dependency_job_id":"e3c885ad-6081-42f5-aec4-7eacbcd11f04","html_url":"https://github.com/mathiasbynens/String.prototype.codePointAt","commit_stats":{"total_commits":31,"total_committers":2,"mean_commits":15.5,"dds":"0.19354838709677424","last_synced_commit":"c3b623184014a50de6cf3e322f0cf598c3fd4894"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiasbynens%2FString.prototype.codePointAt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiasbynens%2FString.prototype.codePointAt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiasbynens%2FString.prototype.codePointAt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiasbynens%2FString.prototype.codePointAt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathiasbynens","download_url":"https://codeload.github.com/mathiasbynens/String.prototype.codePointAt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254003446,"owners_count":21997887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T01:00:54.004Z","updated_at":"2025-05-13T18:32:48.247Z","avatar_url":"https://github.com/mathiasbynens.png","language":"JavaScript","funding_links":[],"categories":["Polyfills"],"sub_categories":["Brunch Plugins"],"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 \u0026 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* \u003chttp://norbertlindenberg.com/2012/05/ecmascript-supplementary-characters/#String\u003e by [Norbert Lindenberg](http://norbertlindenberg.com/) (fails some tests)\n* \u003chttps://gist.github.com/slevithan/2290602\u003e by [Steven Levithan](http://stevenlevithan.com/) (fails some tests)\n* \u003chttps://github.com/paulmillr/es6-shim/blob/8e570a4b425a80f9b13ff027dbd28d65f201a319/es6-shim.js#L171-L183\u003e 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\u003cscript src=\"https://bundle.run/string.prototype.codepointat\"\u003e\u003c/script\u003e\n```\n\n\u003e **NOTE**: It's recommended that you install this module using a package manager\n\u003e such as `npm`, because loading multiple polyfills from a CDN (such as `bundle.run`)\n\u003e 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 \u0026\u0026 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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathiasbynens%2FString.prototype.codePointAt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathiasbynens%2FString.prototype.codePointAt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathiasbynens%2FString.prototype.codePointAt/lists"}