hz-zhhq-web/node_modules/possible-typed-array-names
zzyuan 0ed9577d7c 前端提交4 2025-02-25 13:46:30 +08:00
..
.github 前端提交4 2025-02-25 13:46:30 +08:00
test 前端提交4 2025-02-25 13:46:30 +08:00
.eslintrc 前端提交4 2025-02-25 13:46:30 +08:00
CHANGELOG.md 前端提交4 2025-02-25 13:46:30 +08:00
LICENSE 前端提交4 2025-02-25 13:46:30 +08:00
README.md 前端提交4 2025-02-25 13:46:30 +08:00
index.d.ts 前端提交4 2025-02-25 13:46:30 +08:00
index.js 前端提交4 2025-02-25 13:46:30 +08:00
package.json 前端提交4 2025-02-25 13:46:30 +08:00
tsconfig.json 前端提交4 2025-02-25 13:46:30 +08:00

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.