Socket
Socket
Sign inDemoInstall

opentok-react

Package Overview
Dependencies
21
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.3 to 0.2.4

2

package.json
{
"name": "opentok-react",
"version": "0.2.3",
"version": "0.2.4",
"description": "React component for OpenTok.js",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

# opentok-react
## Contents
- [Pre-Requisites](#pre-requisites)
- [Install](#install)
- [Example App](#example-app)
- [Usage](#usage)
- [Importing opentok-react](#importing-opentok-react)
- [createSession Helper](#createsession-helper)
- [OTPublisher Component](#otpublisher-component)
- [OTSubscriber Component](#otsubscriber-component)
- [A Complete Example](#a-complete-example)
- [Custom Build](#custom-build)
- [Tests](#tests)
## Pre-Requisites
1. NodeJS
1. Register a TokBox account: https://tokbox.com/account/
1. Register a TokBox account: https://tokbox.com/account/user/signup

@@ -56,2 +70,12 @@ ## Install

Or if you need to use CommonJS modules:
```js
var otReact = require('opentok-react');
var createSession = otReact.createSession;
var OTPublisher = otReact.OTPublisher;
var OTSubscriber = otReact.OTSubscriber;
```
### createSession Helper

@@ -58,0 +82,0 @@

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