Ben 34809681ae fix 1 жил өмнө
..
.github 34809681ae fix 1 жил өмнө
test 34809681ae fix 1 жил өмнө
.eslintrc 34809681ae fix 1 жил өмнө
CHANGELOG.md 34809681ae fix 1 жил өмнө
LICENSE 34809681ae fix 1 жил өмнө
README.md 34809681ae fix 1 жил өмнө
index.d.ts 34809681ae fix 1 жил өмнө
index.js 34809681ae fix 1 жил өмнө
package.json 34809681ae fix 1 жил өмнө
tsconfig.json 34809681ae fix 1 жил өмнө

README.md

possible-typed-array-names Version Badge

github actions coverage License Downloads

npm badge

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.