{"id":51913,"library":"bytefmt","title":"Bytefmt","description":"A package for converting byte sizes to and from human-readable formats.","status":"active","version":"0.76.0","language":"go","source_language":null,"source_url":null,"tags":["bytes","formatting","human-readable","utility"],"install":[{"cmd":"go get code.cloudfoundry.org/bytefmt","lang":"bash","label":"Install code.cloudfoundry.org/bytefmt"}],"dependencies":[],"imports":[{"symbol":"bytefmt","correct":"code.cloudfoundry.org/bytefmt"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"code.cloudfoundry.org/bytefmt\"\n)\n\nfunc main() {\n\tfmt.Println(bytefmt.ByteSize(1024 * 1024)) // Output: 1M\n}","lang":"go","description":"Convert bytes to human-readable string."},"warnings":[],"env_vars":null,"search_vec":"'byte':6,15 'bytefmt':1 'convert':5 'format':14,16 'human':12,18 'human-read':11,17 'packag':3 'readabl':13,19 'size':7 'util':20","created_at":"2026-06-15T06:34:39.293081+00:00","updated_at":"2026-06-15T06:34:39.293081+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/cloudfoundry/bytefmt","github":null,"docs":"https://pkg.go.dev/code.cloudfoundry.org/bytefmt#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}