Repository

v-humanise

Humanise lib for V. More funcs coming soon.

Setup

v install Sorrow446.vhumanise

import sorrow446.vhumanise

Sizes

vhumanise.bytes(209405406) // 209 MB
vhumanise.bytes(62671423478) // 63 GB

Ordinals

vhumanise.ordinal(10) // 10th
vhumanise.ordinal(123) // 123rd

Thank you

Based on Dustin's go-humanize lib.

About

0
8
1 year ago

Author

Sorrow446