imajin/node_modules/possible-typed-array-names
2026-01-10 04:52:11 -08:00
..
.github chore(imajin): 🔧 🛏️ update package.json and README.md 2026-01-10 04:52:11 -08:00
test chore(imajin): 🔧 🛏️ update package.json and README.md 2026-01-10 04:52:11 -08:00
.eslintrc chore(imajin): 🔧 🛏️ update package.json and README.md 2026-01-10 04:52:11 -08:00
CHANGELOG.md chore(imajin): 🔧 🛏️ update package.json and README.md 2026-01-10 04:52:11 -08:00
index.d.ts chore(imajin): 🔧 🛏️ update package.json and README.md 2026-01-10 04:52:11 -08:00
index.js chore(imajin): 🔧 🛏️ update package.json and README.md 2026-01-10 04:52:11 -08:00
LICENSE chore(imajin): 🔧 🛏️ update package.json and README.md 2026-01-10 04:52:11 -08:00
package.json chore(imajin): 🔧 🛏️ update package.json and README.md 2026-01-10 04:52:11 -08:00
README.md chore(imajin): 🔧 🛏️ update package.json and README.md 2026-01-10 04:52:11 -08:00
tsconfig.json chore(imajin): 🔧 🛏️ update package.json and README.md 2026-01-10 04:52:11 -08:00

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
    ) || typeof globalThis[name] === 'undefined')
)));

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.