time-to-botec/js/node_modules/@stdlib/constants/uint8/README.md
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

89 lines
1.9 KiB
Markdown

<!--
@license Apache-2.0
Copyright (c) 2021 The Stdlib Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
# Constants
> 8-bit unsigned integer mathematical constants.
<section class="usage">
## Usage
```javascript
var constants = require( '@stdlib/constants/uint8' );
```
#### constants
8-bit unsigned integer mathematical constants.
```javascript
var c = constants;
// returns {...}
```
<!-- <toc pattern="*" > -->
<div class="namespace-toc">
- <span class="signature">[`MAX`][@stdlib/constants/uint8/max]</span><span class="delimiter">: </span><span class="description">maximum unsigned 8-bit integer.</span>
- <span class="signature">[`NUM_BYTES`][@stdlib/constants/uint8/num-bytes]</span><span class="delimiter">: </span><span class="description">size (in bytes) of an 8-bit unsigned integer.</span>
</div>
<!-- </toc> -->
</section>
<!-- /.usage -->
<section class="examples">
## Examples
<!-- TODO: better examples -->
<!-- eslint no-undef: "error" -->
```javascript
var objectKeys = require( '@stdlib/utils/keys' );
var constants = require( '@stdlib/constants/uint8' );
console.log( objectKeys( constants ) );
```
</section>
<!-- /.examples -->
<section class="links">
<!-- <toc-links> -->
[@stdlib/constants/uint8/max]: https://www.npmjs.com/package/@stdlib/constants/tree/main/uint8/max
[@stdlib/constants/uint8/num-bytes]: https://www.npmjs.com/package/@stdlib/constants/tree/main/uint8/num-bytes
<!-- </toc-links> -->
</section>
<!-- /.links -->