|
|
před 2 týdny | |
|---|---|---|
| .. | ||
| .github | před 2 týdny | |
| test | před 2 týdny | |
| .eslintrc | před 2 týdny | |
| CHANGELOG.md | před 2 týdny | |
| LICENSE | před 2 týdny | |
| README.md | před 2 týdny | |
| index.d.ts | před 2 týdny | |
| index.js | před 2 týdny | |
| package.json | před 2 týdny | |
| tsconfig.json | před 2 týdny | |
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
) || typeof globalThis[name] === 'undefined')
)));
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.