@stdlib/utils-size-of-cli
v0.2.2
Published
Return the size (in bytes) of the canonical binary representation of a specified numeric type.
Downloads
8
Readme
sizeOf
Return the size (in bytes) of the canonical binary representation of a specified numeric type.
Installation
To use as a general utility, install the CLI package globally
npm install -g @stdlib/utils-size-of-cli
Usage
Usage: sizeof [options] <dtype>
Options:
-h, --help Print this message.
-V, --version Print the package version.
Examples
$ sizeof int16
2
See Also
@stdlib/utils-size-of
: return the size (in bytes) of the canonical binary representation of a specified numeric type.@stdlib/utils-real-max
: return the maximum finite value capable of being represented by a numeric real type.@stdlib/utils-type-max
: return the maximum value of a specified numeric type.
Notice
This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.
Community
License
See LICENSE.
Copyright
Copyright © 2016-2024. The Stdlib Authors.