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

webrtc-internals

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webrtc-internals

WebRTC Internals Graphs

  • 0.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.7K
increased by6.86%
Maintainers
1
Weekly downloads
 
Created
Source

WebRTC Internals

Goal is to replace react-sparklines in Discord with chrome://webrtc-internals style graphs. timeline_data_series.js and timeline_graph_view.js are taken from https://github.com/fippo/webrtc-externals.

Install

npm install webrtc-internals

Use

Please see https://github.com/vassjozsef/webrtc-internals-test:

const {TimelineDataSeries, TimelineGraphView} = require('webrtc-internals');

const canvas = document.getElementById('canvas')
const graphView = new TimelineGraphView(canvas);

const dataSeries = new TimelineDataSeries();
graphView.addDataSeries(dataSeries);

const timestamp = Date.now();
dataSeries.addPoint(timestamp, Math.random());
graphView.updateEndDate();

Keywords

FAQs

Package last updated on 12 Apr 2022

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