{"id":17726713,"url":"https://github.com/sergeysova/utf8-uint8array","last_synced_at":"2026-01-31T20:31:19.219Z","repository":{"id":46919959,"uuid":"208999189","full_name":"sergeysova/utf8-uint8array","owner":"sergeysova","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-04T10:34:56.000Z","size":326,"stargazers_count":0,"open_issues_count":14,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-20T01:53:13.982Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://npmjs.com/utf8-uint8array","language":"JavaScript","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/sergeysova.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2019-09-17T08:26:18.000Z","updated_at":"2020-05-07T21:46:14.000Z","dependencies_parsed_at":"2023-02-02T08:46:05.911Z","dependency_job_id":null,"html_url":"https://github.com/sergeysova/utf8-uint8array","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sergeysova/utf8-uint8array","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergeysova%2Futf8-uint8array","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergeysova%2Futf8-uint8array/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergeysova%2Futf8-uint8array/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergeysova%2Futf8-uint8array/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sergeysova","download_url":"https://codeload.github.com/sergeysova/utf8-uint8array/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergeysova%2Futf8-uint8array/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261231612,"owners_count":23128031,"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-10-25T17:06:37.878Z","updated_at":"2026-01-31T20:31:14.199Z","avatar_url":"https://github.com/sergeysova.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# utf8-uint8array\n\n## Installation\n\n```bash\nnpm install utf8-uint8array\n```\n\nor\n\n```bash\nyarn add utf8-uint8array\n```\n\n## Encode UTF-8 string as Uint8Array\n\n```ts\nimport { toBytes } from \"utf8-uint8array\";\n\nconst bytes: Uint8Array = toBytes(\"Привет 🌎\");\n```\n\n## Decode Uint8Array as UTF-8 string\n\n```ts\nimport { fromBytes } from \"utf8-uint8array\";\n\nconst bytes: Uint8Array;\n\nconst string: string = fromBytes(bytes);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergeysova%2Futf8-uint8array","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergeysova%2Futf8-uint8array","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergeysova%2Futf8-uint8array/lists"}