Socket
Socket
Sign inDemoInstall

get-browser-rtc

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-browser-rtc

get webrtc browser methods unprefixed


Version published
Weekly downloads
101K
decreased by-2.98%
Maintainers
2
Weekly downloads
 
Created
Source

get-browser-rtc

get webrtc methods unprefixed

This module has the same interface as the wrtc package for easy swapability between node and browsers.

example output

console.log(require('get-browser-rtc')())

If you're in a browser that supports webrtc you'll get:

{ RTCIceCandidate: [Function: RTCIceCandidate],
  RTCPeerConnection: [Function: RTCPeerConnection],
  RTCSessionDescription: [Function: RTCSessionDescription] }

otherwise you'll get

null

install

npm install get-browser-rtc

license

MIT

Keywords

FAQs

Package last updated on 18 Nov 2020

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