Skip to content

Instantly share code, notes, and snippets.

@aldafu
Created Aug 15, 2017
Embed
What would you like to do?
simple-peer with browserify

setup

install dependencies

npm install

install browserify

npm install -g browserify

build bundle

browserify index.js -o bundle.js

require('simple-peer');
{
"dependencies": {
"simple-peer": "^8.1.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment