From b5aec03e9dc029758b4c8dd6d868ce1661420dbc Mon Sep 17 00:00:00 2001 From: bl-ue <54780737+bl-ue@users.noreply.github.com> Date: Fri, 5 Feb 2021 07:39:05 -0500 Subject: [PATCH] pretty-bytes: add page (#5226) --- pages/common/pretty-bytes.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/pretty-bytes.md diff --git a/pages/common/pretty-bytes.md b/pages/common/pretty-bytes.md new file mode 100644 index 0000000000..41922f61d6 --- /dev/null +++ b/pages/common/pretty-bytes.md @@ -0,0 +1,16 @@ +# pretty-bytes + +> Convert bytes to a human readable string. +> More information: . + +- Convert numeric bytes value to a human readable string: + +`pretty-bytes {{1337}}` + +- Convert numeric bytes value from stdin to a human readable string: + +`echo {{1337}} | pretty-bytes` + +- Display help and usage information: + +`pretty-bytes --help`