Skip to content

weberr13/dehumanize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dehumanize

Convert "humanized" sizes to approximate int64 sizes

Specifically written to convert elasticsearch's tendency to convert sizes to "human readable" 1.2mb style sizes.

Currently supports formats like:

1.1b 1kb 1.304mb 1.3gb 1.2tb 1.2pb

default for an "unconvertable" format is 0

Tests in goconvey

About

Convert "humanized" sizes to approximate int64 sizes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages