|
hai 11 meses | |
---|---|---|
.. | ||
.github | hai 11 meses | |
test | hai 11 meses | |
.eslintrc | hai 11 meses | |
CHANGELOG.md | hai 11 meses | |
LICENSE | hai 11 meses | |
README.md | hai 11 meses | |
index.d.ts | hai 11 meses | |
index.js | hai 11 meses | |
package.json | hai 11 meses | |
tsconfig.json | hai 11 meses |
A simple list of possible Typed Array names.
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
)));
Simply clone the repo, npm install
, and run npm test
Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.