We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
something like bytes('1gb', 'number'). not sure the best way. sometimes we just always want the numerical version. it would avoid type checking stuff like this: https://github.com/stream-utils/raw-body/blob/master/index.js#L17
bytes('1gb', 'number')
The text was updated successfully, but these errors were encountered:
897aa55
Soon you'll be able to simply do bytes.parse(variable) and it'll be a number.
bytes.parse(variable)
Sorry, something went wrong.
dougwilson
No branches or pull requests
something like
bytes('1gb', 'number')
. not sure the best way. sometimes we just always want the numerical version. it would avoid type checking stuff like this: https://github.com/stream-utils/raw-body/blob/master/index.js#L17The text was updated successfully, but these errors were encountered: