|
пре 11 месеци | |
---|---|---|
.. | ||
.github | пре 11 месеци | |
test | пре 11 месеци | |
.eslintrc | пре 11 месеци | |
CHANGELOG.md | пре 11 месеци | |
LICENSE | пре 11 месеци | |
README.md | пре 11 месеци | |
index.d.ts | пре 11 месеци | |
index.js | пре 11 месеци | |
package.json | пре 11 месеци | |
tsconfig.json | пре 11 месеци |
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.