{"id":13930176,"url":"https://github.com/janlelis/unicode-name","last_synced_at":"2025-10-10T22:57:34.206Z","repository":{"id":59158582,"uuid":"56176831","full_name":"janlelis/unicode-name","owner":"janlelis","description":"Unicode character names in Ruby","archived":false,"fork":false,"pushed_at":"2025-09-09T14:55:09.000Z","size":4336,"stargazers_count":14,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T00:36:06.725Z","etag":null,"topics":["names","ruby","unicode","unicode-data"],"latest_commit_sha":null,"homepage":"https://character.construction/name","language":"Ruby","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/janlelis.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"MIT-LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2016-04-13T18:36:37.000Z","updated_at":"2025-09-09T14:55:11.000Z","dependencies_parsed_at":"2024-02-07T14:59:01.786Z","dependency_job_id":"44a6d7be-11f3-44ac-8aa8-440000fa1c5c","html_url":"https://github.com/janlelis/unicode-name","commit_stats":{"total_commits":75,"total_committers":2,"mean_commits":37.5,"dds":"0.45333333333333337","last_synced_commit":"5c8e0cbab0ad22a9a604a476b9c36c4cd4d53c3b"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/janlelis/unicode-name","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janlelis%2Funicode-name","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janlelis%2Funicode-name/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janlelis%2Funicode-name/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janlelis%2Funicode-name/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/janlelis","download_url":"https://codeload.github.com/janlelis/unicode-name/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janlelis%2Funicode-name/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005448,"owners_count":26083902,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["names","ruby","unicode","unicode-data"],"created_at":"2024-08-07T18:05:02.574Z","updated_at":"2025-10-10T22:57:34.202Z","avatar_url":"https://github.com/janlelis.png","language":"Ruby","readme":"# Unicode::Name [![[version]](https://badge.fury.io/rb/unicode-name.svg)](https://badge.fury.io/rb/unicode-name) [![[ci]](https://github.com/janlelis/unicode-name/workflows/Test/badge.svg)](https://github.com/janlelis/unicode-name/actions?query=workflow%3ATest)\n\nReturn Unicode codepoint names, aliases, and labels.\n\nUnicode version: **17.0.0** (September 2025)\n\n## Usage\n\n```ruby\nrequire \"unicode/name\"\n\n# Name\nUnicode::Name.of \"A\" # =\u003e \"LATIN CAPITAL LETTER A\"\nUnicode::Name.of \"🚡\" # =\u003e \"AERIAL TRAMWAY\"\nUnicode::Name.of \"丁\" # =\u003e \"CJK UNIFIED IDEOGRAPH-4E01\"\nUnicode::Name.of \"한\" # =\u003e \"HANGUL SYLLABLE HAN\"\n\n# Unicode 17 (2025) example\nUnicode::Name.of \"𑶰\" # =\u003e \"TOLONG SIKI LETTER I\"\n\n# Aliases, by type\nUnicode::Name.aliases \"\\t\" # =\u003e {:control=\u003e[\"CHARACTER TABULATION\", \"HORIZONTAL TABULATION\"],\n                                 :abbreviation=\u003e[\"HT\", \"TAB\"]}\n\n# Corrections (via .aliases[:correction], then name)\nUnicode::Name.correct \"A\" # =\u003e \"LATIN CAPITAL LETTER A\"\nUnicode::Name.correct \"Ƣ\" # =\u003e \"LATIN CAPITAL LETTER GHA\"\n\n# Codepoint labels\nUnicode::Name.label(\"\\0\") # =\u003e \"\u003ccontrol-0000\u003e\"\nUnicode::Name.label(\"\\u{D800}\") # =\u003e \"\u003csurrogate-D800\u003e\"\nUnicode::Name.label(\"\\u{FFFFF}\") # =\u003e \"\u003cnoncharacter-FFFFF\u003e\"\nUnicode::Name.label(\"\\u{10C50}\") # =\u003e \"\u003creserved-10C50\u003e\"\n\n# Best readable representation\nUnicode::Name.readable(\"A\") # =\u003e \"LATIN CAPITAL LETTER A\"\nUnicode::Name.readable(\"\\0\") # =\u003e \"NULL\"\nUnicode::Name.readable(\"\\u{FFFFD}\") # =\u003e \"\u003cprivate-use-FFFFD\u003e\"\n```\n\nSee [unicode-sequence_names](https://github.com/janlelis/unicode-sequence_name) for character names of more complex codepoint sequences. This is how you could use both libraries together to get the most relevant name of a character:\n\n```ruby\nname = Unicode::SequenceName.of(char) || Unicode::Name.readable(char)\n```\n\nSee [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related micro libraries.\n\nSee [unicode-name.js](https://github.com/janlelis/unicode-name.js) for a JavaScript implementation of this gem.\n\n## MIT License\n\n- Copyright (C) 2016-2025 Jan Lelis \u003chttps://janlelis.com\u003e. Released under the MIT license.\n- Unicode data: https://www.unicode.org/copyright.html#Exhibit1\n","funding_links":[],"categories":["ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanlelis%2Funicode-name","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanlelis%2Funicode-name","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanlelis%2Funicode-name/lists"}