Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stdlib/assert-has-uint8array-support

Package Overview
Dependencies
Maintainers
4
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stdlib/assert-has-uint8array-support

Detect native Uint8Array support.

  • 0.0.7
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created

What is @stdlib/assert-has-uint8array-support?

@stdlib/assert-has-uint8array-support is a package that allows you to check if the environment supports the Uint8Array data type. This can be useful for ensuring compatibility with certain features or libraries that depend on Uint8Array.

What are @stdlib/assert-has-uint8array-support's main functionalities?

Check Uint8Array support

This feature allows you to check if the current environment supports the Uint8Array data type. The function returns a boolean value indicating the presence or absence of support.

const hasUint8ArraySupport = require('@stdlib/assert-has-uint8array-support');

if (hasUint8ArraySupport()) {
  console.log('Uint8Array is supported.');
} else {
  console.log('Uint8Array is not supported.');
}

Other packages similar to @stdlib/assert-has-uint8array-support

Keywords

FAQs

Package last updated on 23 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc