{"id":26883821,"url":"https://github.com/jiro4989/eastasianwidth","last_synced_at":"2025-08-16T15:09:05.729Z","repository":{"id":80273978,"uuid":"179052804","full_name":"jiro4989/eastasianwidth","owner":"jiro4989","description":"Library for East Asian Width in pure Nim.","archived":false,"fork":false,"pushed_at":"2019-09-23T04:08:51.000Z","size":32,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-13T01:45:24.737Z","etag":null,"topics":["eastasianwidth","lib","library","nim"],"latest_commit_sha":null,"homepage":"https://jiro4989.github.io/eastasianwidth/eastasianwidth.html","language":"Nim","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jiro4989.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-04-02T10:19:49.000Z","updated_at":"2024-11-21T01:30:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"2a18a693-9a36-4a1d-9d19-118d557119a3","html_url":"https://github.com/jiro4989/eastasianwidth","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jiro4989/eastasianwidth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiro4989%2Feastasianwidth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiro4989%2Feastasianwidth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiro4989%2Feastasianwidth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiro4989%2Feastasianwidth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jiro4989","download_url":"https://codeload.github.com/jiro4989/eastasianwidth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiro4989%2Feastasianwidth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270728073,"owners_count":24635135,"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-08-16T02:00:11.002Z","response_time":91,"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":["eastasianwidth","lib","library","nim"],"created_at":"2025-03-31T17:37:18.201Z","updated_at":"2025-08-16T15:09:05.703Z","avatar_url":"https://github.com/jiro4989.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":":toc: left\n:sectnums:\n\n= eastasianwidth\n\neastasianwidth is EastAsianWidth library in pure Nim. +\nThis module is inspired by https://github.com/komagata/eastasianwidth[eastasianwidth].\n\nimage:https://travis-ci.org/jiro4989/eastasianwidth.svg?branch=master[\"Build Status\", link=\"https://travis-ci.org/jiro4989/eastasianwidth\"]\n\n== Development\n\nnim -v\n\n  Nim Compiler Version 0.19.4 [Linux: amd64]\n  Compiled at 2019-02-01\n  Copyright (c) 2006-2018 by Andreas Rumpf\n\n  git hash: b6d96cafc8bcad1f3d32f2910b25cd11a93f7751\n  active boot switches: -d:release\n\n\nnimble -v\n\n  nimble v0.9.0 compiled at 2018-10-27 18:10:03\n  git hash: couldn't determine git hash\n\n== Install\n\n[source,bash]\nnimble install eastasianwidth\n\n== Usage\n\n[source,nim]\n----\nimport eastasianwidth\nfrom unicode import runeAtPos\n\necho \"hello\".stringWidth                  # --\u003e 5\necho \"こんにちは\".stringWidth             # --\u003e 10\necho \"ＡＢＣＤＥ\".stringWidth             # --\u003e 10\necho \"漢\".runeAtPos(0).int.eastAsianWidth # --\u003e W\n----\n\n== Documents\n\n* https://jiro4989.github.io/eastasianwidth/eastasianwidth.html\n\n== Links\n\n* https://github.com/jiro4989/alignment[alignment] is a library to align text\n  that contains multibyte strings. alignment library uses eastasianwidth.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiro4989%2Feastasianwidth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjiro4989%2Feastasianwidth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiro4989%2Feastasianwidth/lists"}