You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 months ago | |
|---|---|---|
| .. | ||
| .github | 3 months ago | |
| test | 3 months ago | |
| .eslintrc | 3 months ago | |
| CHANGELOG.md | 3 months ago | |
| LICENSE | 3 months ago | |
| README.md | 3 months ago | |
| index.d.ts | 3 months ago | |
| index.js | 3 months ago | |
| package.json | 3 months ago | |
| tsconfig.json | 3 months ago | |
README.md
possible-typed-array-names 
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.
