possible-typed-array-names (1.1.0)

Published 2026-02-24 14:02:46 +00:00 by atheaadmin

Installation

registry=
npm install possible-typed-array-names@1.1.0
"possible-typed-array-names": "1.1.0"

About this package

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.

Dependencies

Development Dependencies

ID Version
@arethetypeswrong/cli ^0.17.3
@ljharb/eslint-config ^21.1.1
@ljharb/tsconfig ^0.2.3
@types/tape ^5.8.1
auto-changelog ^2.5.0
eclint ^2.8.1
eslint =8.8.0
evalmd ^0.0.19
in-publish ^2.0.1
npmignore ^0.3.1
nyc ^10.3.2
safe-publish-latest ^2.0.0
tape ^5.9.0
typescript next

Keywords

typed array typedarray Float32Array Float64Array Int8Array Int16Array Int32Array Uint8Array Uint8ClampedArray Uint16Array Uint32Array BigInt64Array BigUint64Array
Details
npm
2026-02-24 14:02:46 +00:00
0
Jordan Harband
MIT
latest
4.1 KiB
Assets (1)
Versions (1) View all
1.1.0 2026-02-24