{"id":13673218,"url":"https://github.com/manyuanrong/bytes_formater","last_synced_at":"2025-05-07T20:08:41.817Z","repository":{"id":56403677,"uuid":"172304639","full_name":"manyuanrong/bytes_formater","owner":"manyuanrong","description":"Formatting bytes(Uint8Array、Uint16Array、Uint32Array、ArrayBufferView..) output, is very useful when debugging IO functions","archived":false,"fork":false,"pushed_at":"2020-11-10T02:13:03.000Z","size":39,"stargazers_count":8,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-28T20:46:32.275Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/manyuanrong.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}},"created_at":"2019-02-24T06:32:53.000Z","updated_at":"2024-04-22T00:24:06.000Z","dependencies_parsed_at":"2022-08-15T18:01:07.369Z","dependency_job_id":null,"html_url":"https://github.com/manyuanrong/bytes_formater","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manyuanrong%2Fbytes_formater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manyuanrong%2Fbytes_formater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manyuanrong%2Fbytes_formater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manyuanrong%2Fbytes_formater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manyuanrong","download_url":"https://codeload.github.com/manyuanrong/bytes_formater/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252253619,"owners_count":21718787,"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-02T10:00:31.258Z","updated_at":"2025-05-07T20:08:41.751Z","avatar_url":"https://github.com/manyuanrong.png","language":"TypeScript","funding_links":[],"categories":["基础设施","Modules","Uncategorized"],"sub_categories":["Deno 源","Online Playgrounds","Utils","Uncategorized","Assistants"],"readme":"## Deno Bytes Formater\n\nFormatting bytes(Uint8Array、Uint16Array、Uint32Array、ArrayBufferView..) output, is very useful when debugging IO functions\n\n### Example\n\n#### code\n\n```ts\nimport { format, setColorEnabled } from \"https://deno.land/x/bytes_formater@v1.4.0/mod.ts\";\n\nconst bytes = new Uint8Array([\n    10, 53, 46, 54, 46, 51, 52, 0, 71, 241, 0, 59, 77, 99, 52, 49, 65, 107,\n    77, 69, 0, 223, 247, 45, 2, 0, 111, 0, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n    54, 55, 82, 85, 121, 100, 65, 41, 47, 99, 80, 41, 0, 109, 121, 115, 113,\n    108, 95, 110, 97, 116, 105, 118, 101, 95, 112, 97, 115, 115, 119, 111, 114,\n    100, 0\n]);\n\nconsole.log(format(bytes));\n\n// If you don't want to output with color\nsetColorEnable(false);\n\n```\n\n#### output\n\n![output](./output.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanyuanrong%2Fbytes_formater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanyuanrong%2Fbytes_formater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanyuanrong%2Fbytes_formater/lists"}