node byte string parser
Browse cluster: Node.js HTTP utilities & middleware →Bytes is a Node.js utility for converting between human-readable byte strings (such as "1TB") and numeric byte values. The library provides bidirectional conversion through a main function that intelligently delegates to either a format method for converting numbers to strings or a parse method for converting strings to numbers, supporting units from bytes through petabytes in powers of two. Built for npm distribution, it offers customizable formatting options including decimal places, thousands separators, and unit separators.