Socket
Socket
Sign inDemoInstall

@webex/web-capabilities

Package Overview
Dependencies
1
Maintainers
7
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @webex/web-capabilities

A library to check Webex feature capabilities for web clients.


Version published
Maintainers
7
Install size
289 kB
Created

Readme

Source

web-capabilities

A library to check Webex feature capabilities for web clients.

Example

Use the WebCapabilities class to check whether the machine is capable of certain features.

import { CapabilityState, WebCapabilities } from '@webex/web-capabilities';

if (WebCapabilities.isCapableOfBackgroundNoiseRemoval() === CapabilityState.CAPABLE) {
  console.log('This machine is capable of background noise removal!');
}

Use the BrowserInfo class to check certain details about the browser.

import { BrowserInfo } from '@webex/web-capabilities';

if (BrowserInfo.isChrome() && BrowserInfo.isSubVersionOf('110')) {
  console.log('This browser is Chrome version 110!');
}

Setup

  1. Run yarn to install dependencies.
  2. Run yarn prepare to prepare dependencies.
  3. Run yarn watch to build and watch for updates.
  4. Run yarn test to build, run tests, lint, and run test coverage.

Visual Studio Code

Install the recommended extensions when first opening the workspace (there should be a prompt). These plugins will help maintain high code quality and consistency across the project.


NOTE: VS Code is setup to apply formatting and linting rules on save (Prettier runs first, then ESLint). The rules applied are defined in settings.json.


Extensions

FAQs

Last updated on 20 Oct 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc