possible-typed-array-names
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i possible-typed-array-names

Weekly Downloads

26,612,852

Version

1.0.0

License

MIT

Unpacked Size

10.9 kB

Total Files

10

Last publish

Collaborators

  • ljharb