{"id":18019031,"url":"https://github.com/gnuns/unicope","last_synced_at":"2025-09-05T12:42:00.312Z","repository":{"id":97555595,"uuid":"554930801","full_name":"gnuns/unicope","owner":"gnuns","description":"🔤 Converts Unicode characters to their perceptually best ASCII representation.","archived":false,"fork":false,"pushed_at":"2023-11-13T21:42:01.000Z","size":1251,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-22T10:24:17.117Z","etag":null,"topics":["ascii","characters","emoji","transformer","transliteration","unicode","unicode-characters","unicode-converter","unidecode","utf-8"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/gnuns.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":"2022-10-20T16:43:39.000Z","updated_at":"2024-09-28T19:36:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3d25f39-dc92-4f8e-b13b-335f800bef05","html_url":"https://github.com/gnuns/unicope","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":0.07692307692307687,"last_synced_commit":"5386c4469061b6f9bfa7ba08f81291ba66c1a693"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnuns%2Funicope","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnuns%2Funicope/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnuns%2Funicope/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnuns%2Funicope/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gnuns","download_url":"https://codeload.github.com/gnuns/unicope/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245731344,"owners_count":20663158,"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":["ascii","characters","emoji","transformer","transliteration","unicode","unicode-characters","unicode-converter","unidecode","utf-8"],"created_at":"2024-10-30T05:08:54.081Z","updated_at":"2025-03-26T20:31:11.940Z","avatar_url":"https://github.com/gnuns.png","language":"TypeScript","readme":"## unicope\n\nConverts Unicode characters to their perceptually best ASCII representation.\n\n\n### usage\n\n```js\nimport { unicope } from \"unicope\";\n\nconsole.log(unicope('𝕦𝕟𝕚𝕔𝕠𝕡𝕖')); // output: unicope\n```\n\n### unicope.d.ts\n\n```ts\ndeclare enum AllowedBlockLimit {\n    BasicLatin = \"basic\",\n    Latin1Supplement = \"latin-1\",\n    LatinExtendedA = \"latin-extended-a\"\n}\ninterface UnicopeOptions {\n    placeholder?: string;\n    maxAllowedBlock?: AllowedBlockLimit;\n    alphanumericOnly?: boolean;\n}\n/**\n * Transliterates a Unicode string into ASCII.\n *\n * @param {string} input\n * @param {UnicopeOptions} options\n * @returns {string}\n */\ndeclare function unicope(input: string, options?: UnicopeOptions): string;\n\nexport { AllowedBlockLimit, unicope };\n```\n\n### example with options\n\n| input | `{ \"alphanumericOnly\":true }` | `{ \"placeholder\":\"\", \"alphanumericOnly\":true }` | `{ \"placeholder\":\"\", \"alphanumericOnly\":true, \"maxAllowedBlock\":\"basic\" }` |\n| --- | --- | --- | --- |\n| 𝔲𝔫𝔦𝔠𝔬𝔭𝔢 | unicope | unicope | unicope |\n| 𝖚𝖓𝖎𝖈𝖔𝖕𝖊 | unicope | unicope | unicope |\n| ᑌŇᎥᑕ𝐎ᑭ𝓔 | UNiCOPE | UNiCOPE | UNiCOPE |\n| 𝓾𝓷𝓲𝓬𝓸𝓹𝓮 | unicope | unicope | unicope |\n| 𝓊𝓃𝒾𝒸𝑜𝓅𝑒 | unicope | unicope | unicope |\n| 𝕦𝕟𝕚𝕔𝕠𝕡𝕖 | unicope | unicope | unicope |\n| ｕｎｉｃｏｐｅ | UNICOpE | UNICOpE | UNICOpE |\n| ꪊꪀ꠸ᥴꪮρꫀ | uniCoPe | uniCoPe | uniCoPe |\n| υꪀꪱᝯׁᨵ℘ꫀׁ | Unicope | Unicope | Unicope |\n| ᴜɴɪᴄᴏᴘᴇ | UNICOPE | UNICOPE | UNICOPE |\n| ǝdoɔıun | edociun | edociun | edociun |\n| 🅄🄽🄸🄲🄾🄿🄴 | UNICOPE | UNICOPE | UNICOPE |\n| ɘqoɔiᴎu | eqocinu | eqocinu | eqocinu |\n| ú̸͎̠̱͕̲̿ń̴̟̗͚͍̃ͅi̷̞̩͓̪̺͇͇̣̞̐̍͘c̴͕̙̜̆̆͒̃̕õ̸̻̐̇̅̑̇p̵̢̿́͗͝e̸̝͍̞̱̤̲̪̪͚̯̽̄̅̃̂̎ | únicõpe | únicõpe | unicope |\n| 🆄🅽🅸🅲🅾🅿🅴 | UNICOPE | UNICOPE | UNICOPE |\n| ᵤₙᵢcₒₚₑ | UnicOPE | UnicOPE | UnicOPE |\n| ᵘⁿⁱᶜᵒᵖᵉ | unIcope | unIcope | unIcope |\n| ⓤⓝⓘⓒⓞⓟⓔ | UNICOPE | UNICOPE | UNICOPE |\n| ยภเς๏קє | unlcopE | unlcopE | unlcopE |\n| υɳιƈσρҽ | UnlCOPe | UnlCOPe | UnlCOPe |\n| ʊռɨƈօքɛ | vniCOpE | vniCOpE | vniCOpE |\n| ᏬᏁᎥፈᎧᎮᏋ | unicoPE | unicoPE | unicoPE |\n| ųŋıƈơ℘ɛ | UniCOpE | UniCOpE | UniCOpE |\n| นຖi¢໐pē | uniOpe | uniOpe | unicOpe |\n| 𝐮𝐧𝐢𝐜𝐨𝐩𝐞 | unicope | unicope | unicope |\n| 𝘂𝗻𝗶𝗰𝗼𝗽𝗲 | unicope | unicope | unicope |\n| 𝘶𝘯𝘪𝘤𝘰𝘱𝘦 | unicope | unicope | unicope |\n| 𝙪𝙣𝙞𝙘𝙤𝙥𝙚 | unicope | unicope | unicope |\n| 𝚞𝚗𝚒𝚌𝚘𝚙𝚎 | unicope | unicope | unicope |\n| ЦПIᄃӨPΣ | unIcOPE | unIcOPE | unIcOPE |\n| υηι¢σρє | UnlOPE | UnlOPE | UnlcOPE |\n| µñï¢ðþê | ñïðê | ñïðê | unicope |\n| Ʉ₦ł₵Ø₱Ɇ | UnIcØPE | UnIcØPE | UnIcOPE |\n| ㄩ几丨匚ㄖ卩乇 | UniCopE | UniCopE | UniCopE |\n| ひ刀ﾉᄃのｱ乇 | unicopE | unicopE | unicopE |\n| 【u】【n】【i】【c】【o】【p】【e】 | unicope | unicope | unicope |\n| 『u』『n』『i』『c』『o』『p』『e』 | unicope | unicope | unicope |\n| ≋u≋n≋i≋c≋o≋p≋e≋ | unicope | unicope | unicope |\n| ░u░n░i░c░o░p░e░ | unicope | unicope | unicope |\n| ｕｎｉｃｏｐｅ | UNICOpE | UNICOpE | UNICOpE |\n| [̲̅u][̲̅n][̲̅i][̲̅c][̲̅o][̲̅p][̲̅e] | unicope | unicope | unicope |\n| u҉n҉i҉c҉o҉p҉e҉ | unicope | unicope | unicope |\n| մղìçօքҽ | unìçOpe | unìçOpe | unicOpe |\n| ᑌᑎIᑕOᑭE | UnICOPE | UnICOPE | UnICOPE |\n| ᑘᘉᓰᑢᓍᕵᘿ | UNIcPQE | UNIcPQE | UNIcPQE |\n| u̶n̶i̶c̶o̶p̶e̶ | unicope | unicope | unicope |\n| u̴n̴i̴c̴o̴p̴e̴ | unicope | unicope | unicope |\n| u̷n̷i̷c̷o̷p̷e̷ | unicope | unicope | unicope |\n| u̲n̲i̲c̲o̲p̲e̲ | unicope | unicope | unicope |\n| u̳n̳i̳c̳o̳p̳e̳ | unicope | unicope | unicope |\n| u̾n̾i̾c̾o̾p̾e̾ | unicope | unicope | unicope |\n| u♥n♥i♥c♥o♥p♥e | unicope | unicope | unicope |\n| u͎n͎i͎c͎o͎p͎e͎ | unicope | unicope | unicope |\n| u͓̽n͓̽i͓̽c͓̽o͓̽p͓̽e͓̽ | unicope | unicope | unicope |\n| ｕ𝔫丨ᑕ𝐨ᑭᗴ | UniCoPE | UniCoPE | UniCoPE |\n| 𝓾Ňί𝕔𝓞𝐏ｅ | uNicOPE | uNicOPE | uNicOPE |\n| 𝓊ή𝓲ᑕ𝐎ⓟ𝔢 | uiCOPe | uiCOPe | uiCOPe |\n| ᵘ𝐧𝐈ς𝓸ᵖⓔ | unIcopE | unIcopE | unIcopE |\n| 𝔲ηᶤ匚ᗝᑭ𝒆 | uniCPe | uniCPe | uniCPe |\n| ｕᶰĮς𝓸𝕡€ | UNicopE | UNicopE | UNicopE |\n| υŇίℂＯρέ | UNiCOP | UNiCOP | UNiCOP |\n| 𝐔𝓷Ⓘᶜⓞ𝐩€ | UnIcOpE | UnIcOpE | UnIcOpE |\n| 𝓊ηเᶜⓞᵖⓔ | unlcOpE | unlcOpE | unlcOpE |\n| ùη𝕀𝐜Ｏ𝔭ᗴ | ùnIcOpE | ùnIcOpE | unIcOpE |\n| ย𝕟เcㄖƤẸ | unlcoPE | unlcoPE | unlcoPE |\n| ᵘⓝ𝕀Čㄖ𝓹ε | uNICopE | uNICopE | uNICopE |\n| ยŇι匚ØƤ𝔢 | uNlCØPe | uNlCØPe | uNlCOPe |\n| ⓤ𝓝𝓘ᑕｏ𝕡𝒆 | UNICOpe | UNICOpe | UNICOpe |\n| υŇƗ𝒸𝔬𝔭𝕖 | UNBcope | UNBcope | UNBcope |\n| υⓃ𝔦ᶜσｐ𝔼 | UNicOpE | UNicOpE | UNicOpE |\n| υ𝐧𝒾𝐂𝓸𝕡𝓔 | UniCopE | UniCopE | UniCopE |\n| 𝕌ℕ𝓘𝓬Ⓞ卩𝔢 | UNIcOpe | UNIcOpe | UNIcOpe |\n| 𝓾𝕟𝕀ⓒ𝑜ρ€ | unICoPE | unICoPE | unICoPE |\n| ᵘŇｉℂ๏Ⓟε | uNICoPE | uNICoPE | uNICoPE |\n| ยⓝι𝔠ᵒρ𝐞 | uNlcoPe | uNlcoPe | uNlcoPe |\n| 𝓊𝓃𝒾𝒸🏵𝓅𝑒 | unicpe | unicpe | unicpe |\n| 𝓊𝓃𝒾𝒸❀𝓅𝑒 | unicpe | unicpe | unicpe |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnuns%2Funicope","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgnuns%2Funicope","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnuns%2Funicope/lists"}