1.0.0 • Published 29 days ago

@teasource/rerum-consectetur-quod v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
29 days ago

Int32Array Support

NPM version Build Status Coverage Status

Detect native Int32Array support.

Installation

npm install @teasource/rerum-consectetur-quod

Alternatively,

  • To load the package in a website via a script tag without installation and bundlers, use the ES Module available on the esm branch (see README).
  • If you are using Deno, visit the deno branch (see README for usage intructions).
  • For use in Observable, or in browser/node environments, use the Universal Module Definition (UMD) build available on the umd branch (see README).
  • To use as a general utility for the command line, install the corresponding CLI package globally.

The branches.md file summarizes the available branches and displays a diagram illustrating their relationships.

To view installation and usage instructions specific to each branch build, be sure to explicitly navigate to the respective README files on each branch, as linked to above.

Usage

var hasInt32ArraySupport = require( '@teasource/rerum-consectetur-quod' );

hasInt32ArraySupport()

Detects if a runtime environment supports Int32Array.

var bool = hasInt32ArraySupport();
// returns <boolean>

Examples

var hasInt32ArraySupport = require( '@teasource/rerum-consectetur-quod' );

var bool = hasInt32ArraySupport();
if ( bool ) {
    console.log( 'Environment has Int32Array support.' );
} else {
    console.log( 'Environment lacks Int32Array support.' );
}

CLI

Installation

To use as a general utility, install the CLI package globally

npm install -g @teasource/rerum-consectetur-quod-cli

Usage

Usage: has-int32array-support [options]

Options:

  -h,    --help                Print this message.
  -V,    --version             Print the package version.

Examples

$ has-int32array-support
<boolean>

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

Chat


License

See LICENSE.

Copyright

Copyright © 2016-2024. The Stdlib Authors.

1.0.0

29 days ago