forked from lix-project/lix-website
2 KiB
2 KiB
possible-typed-array-names ![Version Badge](https://versionbadg.es/ljharb/possible-typed-array-names.svg)
A simple list of possible Typed Array names.
Example
const assert = require('assert');
const names = require('possible-typed-array-names');
assert(Array.isArray(names));
assert(names.every(name => (
typeof name === 'string'
&& typeof globalThis[name] === 'function'
&& globalThis[name].name === name
)));
Tests
Simply clone the repo, npm install
, and run npm test
Security
Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.