{"id":13879973,"url":"https://github.com/knu/ruby-unf","last_synced_at":"2025-04-12T21:26:18.543Z","repository":{"id":48331645,"uuid":"2636395","full_name":"knu/ruby-unf","owner":"knu","description":"A wrapper library to bring Unicode Normalization Form support to Ruby/JRuby","archived":false,"fork":false,"pushed_at":"2024-08-17T16:38:50.000Z","size":141,"stargazers_count":75,"open_issues_count":10,"forks_count":12,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-29T16:57:38.592Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/knu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2011-10-24T13:45:30.000Z","updated_at":"2024-08-17T16:38:43.000Z","dependencies_parsed_at":"2024-11-05T18:36:07.135Z","dependency_job_id":"52fea24a-f963-42b0-9d03-8120940fc8d1","html_url":"https://github.com/knu/ruby-unf","commit_stats":{"total_commits":50,"total_committers":7,"mean_commits":7.142857142857143,"dds":0.12,"last_synced_commit":"782ca4f74307d17b774d3eb188639611e4919806"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fruby-unf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fruby-unf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fruby-unf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fruby-unf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knu","download_url":"https://codeload.github.com/knu/ruby-unf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239541817,"owners_count":19656097,"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-06T08:02:41.530Z","updated_at":"2025-03-01T11:09:56.120Z","avatar_url":"https://github.com/knu.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"ruby-unf\n========\n\nSynopsis\n--------\n\n* A wrapper library to bring Unicode Normalization Form support to Ruby/JRuby\n\nDescription\n-----------\n\n* Uses `unf_ext` on CRuby and `java.text.Normalizer` on JRuby.\n\n* Normalizes UTF-8 strings into and from NFC, NFD, NFKC or NFKD\n\n        # For bulk conversion\n        normalizer = UNF::Normalizer.instance\n        a_bunch_of_strings.map! { |string|\n          normalizer.normalize(string, :nfc) #=\u003e string in NFC\n        }\n\n        # Class method\n        UNF::Normalizer.normalize(string, :nfc)\n\n        # Instance methods of String\n        string.to_nfc\n\nInstallation\n------------\n\n\tgem install unf\n\nLicense\n-------\n\nCopyright (c) 2011, 2012, 2013 Akinori MUSHA\n\nLicensed under the 2-clause BSD license.\nSee `LICENSE` for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknu%2Fruby-unf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknu%2Fruby-unf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknu%2Fruby-unf/lists"}