Mohammad Asif cf937194cb Removed un-waned things 1. 5 months ago
..
.github cf937194cb Removed un-waned things 1. 5 months ago
test cf937194cb Removed un-waned things 1. 5 months ago
.eslintrc cf937194cb Removed un-waned things 1. 5 months ago
CHANGELOG.md cf937194cb Removed un-waned things 1. 5 months ago
LICENSE cf937194cb Removed un-waned things 1. 5 months ago
README.md cf937194cb Removed un-waned things 1. 5 months ago
index.d.ts cf937194cb Removed un-waned things 1. 5 months ago
index.js cf937194cb Removed un-waned things 1. 5 months ago
package.json cf937194cb Removed un-waned things 1. 5 months ago
tsconfig.json cf937194cb Removed un-waned things 1. 5 months 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.