tree: 6044d10aa9fa54ef9d39e190f61668d8c584dcf0 [path history] [tgz]
  1. .github/
  2. test/
  3. .eslintrc
  4. CHANGELOG.md
  5. index.d.ts
  6. index.js
  7. LICENSE
  8. package.json
  9. README.md
  10. tsconfig.json
node_modules/possible-typed-array-names/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.