available-typed-arrays (1.0.7)
Published 2026-02-24 13:53:12 +00:00 by atheaadmin
Installation
registry=npm install available-typed-arrays@1.0.7"available-typed-arrays": "1.0.7"About this package
available-typed-arrays 
Returns an array of Typed Array names that are available in the current environment.
Example
var availableTypedArrays = require('available-typed-arrays');
var assert = require('assert');
assert.deepStrictEqual(
availableTypedArrays().sort(),
[
'Int8Array',
'Uint8Array',
'Uint8ClampedArray',
'Int16Array',
'Uint16Array',
'Int32Array',
'Uint32Array',
'Float32Array',
'Float64Array',
'BigInt64Array',
'BigUint64Array'
].sort()
);
Tests
Simply clone the repo, npm install, and run npm test
Dependencies
Dependencies
| ID | Version |
|---|---|
| possible-typed-array-names | ^1.0.0 |
Development Dependencies
| ID | Version |
|---|---|
| @ljharb/eslint-config | ^21.1.0 |
| @types/array.prototype.every | ^1.1.1 |
| @types/isarray | ^2.0.2 |
| @types/tape | ^5.6.4 |
| array.prototype.every | ^1.1.5 |
| aud | ^2.0.4 |
| auto-changelog | ^2.4.0 |
| eslint | =8.8.0 |
| evalmd | ^0.0.19 |
| in-publish | ^2.0.1 |
| isarray | ^2.0.5 |
| npmignore | ^0.3.1 |
| nyc | ^10.3.2 |
| safe-publish-latest | ^2.0.0 |
| tape | ^5.7.4 |
| typescript | ^5.4.0-dev.20240131 |
Keywords
typed
arrays
Float32Array
Float64Array
Int8Array
Int16Array
Int32Array
Uint8Array
Uint8ClampedArray
Uint16Array
Uint32Array
BigInt64Array
BigUint64Array
