Bolshakova Anna ab21a11190 lab 2 weeks ago
..
.github ab21a11190 lab 2 weeks ago
test ab21a11190 lab 2 weeks ago
.eslintrc ab21a11190 lab 2 weeks ago
CHANGELOG.md ab21a11190 lab 2 weeks ago
LICENSE ab21a11190 lab 2 weeks ago
README.md ab21a11190 lab 2 weeks ago
index.d.ts ab21a11190 lab 2 weeks ago
index.js ab21a11190 lab 2 weeks ago
package.json ab21a11190 lab 2 weeks ago
tsconfig.json ab21a11190 lab 2 weeks ago

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.