New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

webrtc-tools

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webrtc-tools

WebRTC tools

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-80%
Maintainers
1
Weekly downloads
 
Created
Source

WebRTC-Tools

English | 简体中文

demo: https://ltsg123.github.io/webrtc-tools/example/

Install

Use npm

# with npm
npm i webrtc-tools

CDN is also provided

<script src="https://ltsg123.github.io/webrtc-tools/dist/index.js"></script>

Example image:

Using

import { createTimeline } from "webrtc-tools";
const options = {
  // View Update Interval
  scale: 100,
  // Bottom Timeline Interval
  timeStep: 10 * 1000,
};

// create a timeline graph
const graph = createTimeline("key", "canvasId", options);

// set boundaries
graph.setBoundaries("up", 500, "blue");

// add graph point
setInterval(() => {
  graph.addGraphPoint(Math.random() * 1000);
}, 1000 / 30);

build

yarn

yarn build

dev

yarn

yarn dev

Any questions you can contact me at ltsg0317@outlook.com

Keywords

FAQs

Package last updated on 27 Jan 2024

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