Sha256: b83fdadad26cec83a2290070b31ddea5bff96b5c32e7813bf625d80e251e4774
Contents?: true
Size: 1.94 KB
Versions: 14
Compression:
Stored size: 1.94 KB
Contents
# available-typed-arrays <sup>[![Version Badge][2]][1]</sup> [![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][5]][6] [![dev dependency status][7]][8] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url] [![npm badge][11]][1] Returns an array of Typed Array names that are available in the current environment. ## Example ```js 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` [1]: https://npmjs.org/package/available-typed-arrays [2]: https://versionbadg.es/inspect-js/available-typed-arrays.svg [5]: https://david-dm.org/inspect-js/available-typed-arrays.svg [6]: https://david-dm.org/inspect-js/available-typed-arrays [7]: https://david-dm.org/inspect-js/available-typed-arrays/dev-status.svg [8]: https://david-dm.org/inspect-js/available-typed-arrays#info=devDependencies [11]: https://nodei.co/npm/available-typed-arrays.png?downloads=true&stars=true [license-image]: https://img.shields.io/npm/l/available-typed-arrays.svg [license-url]: LICENSE [downloads-image]: https://img.shields.io/npm/dm/available-typed-arrays.svg [downloads-url]: https://npm-stat.com/charts.html?package=available-typed-arrays [codecov-image]: https://codecov.io/gh/inspect-js/available-typed-arrays/branch/main/graphs/badge.svg [codecov-url]: https://app.codecov.io/gh/inspect-js/available-typed-arrays/ [actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/available-typed-arrays [actions-url]: https://github.com/inspect-js/available-typed-arrays/actions
Version data entries
14 entries across 14 versions & 1 rubygems