has-typed-arrays

Does this environment have JS Typed Arrays?

Usage no npm install needed!

<script type="module">
  import hasTypedArrays from 'https://cdn.skypack.dev/has-typed-arrays';
</script>

README

has-typed-arrays Version Badge

dependency status dev dependency status License Downloads

npm badge

Determine if the JS environment has Typed Arrays.

Example

var hasTypedArrays = require('has-typed-arrays');

hasTypedArrays() === true; // if the environment has Typed Array support

Tests

Simply clone the repo, npm install, and run npm test