|  | 4 月之前 | |
|---|---|---|
| .. | ||
| .github | 4 月之前 | |
| test | 4 月之前 | |
| .eslintrc | 4 月之前 | |
| CHANGELOG.md | 4 月之前 | |
| LICENSE | 4 月之前 | |
| README.md | 4 月之前 | |
| index.d.ts | 4 月之前 | |
| index.js | 4 月之前 | |
| package.json | 4 月之前 | |
| tsconfig.json | 4 月之前 | |
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.