{"id":23129035,"url":"https://github.com/twiny/bprint","last_synced_at":"2025-04-04T06:25:36.948Z","repository":{"id":57624552,"uuid":"398813349","full_name":"twiny/bprint","owner":"twiny","description":"convert byte size into a human-readable format in Go","archived":false,"fork":false,"pushed_at":"2021-08-25T12:54:22.000Z","size":2,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T17:42:45.745Z","etag":null,"topics":["byteconvert","go","go-utils"],"latest_commit_sha":null,"homepage":"","language":"Go","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/twiny.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":"2021-08-22T14:00:02.000Z","updated_at":"2024-11-04T10:44:24.000Z","dependencies_parsed_at":"2022-08-26T22:21:22.931Z","dependency_job_id":null,"html_url":"https://github.com/twiny/bprint","commit_stats":null,"previous_names":["issmeftah/bprint"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twiny%2Fbprint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twiny%2Fbprint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twiny%2Fbprint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twiny%2Fbprint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twiny","download_url":"https://codeload.github.com/twiny/bprint/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247130981,"owners_count":20888696,"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":["byteconvert","go","go-utils"],"created_at":"2024-12-17T10:08:08.877Z","updated_at":"2025-04-04T06:25:36.926Z","avatar_url":"https://github.com/twiny.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Byte Print\n\nconvert byte size into human readable format in Go.\n\n## Download\n`go get github.com/twiny/bprint`\n\n## Example\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"runtime\"\n\n\t\"github.com/twiny/bprint\"\n)\n\nfunc main() {\n\tstats := new(runtime.MemStats)\n\truntime.ReadMemStats(stats)\n\t//\n\tfmt.Println(bprint.String(stats.Sys))\n}\n\n// output\n// 68.08M\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwiny%2Fbprint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwiny%2Fbprint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwiny%2Fbprint/lists"}