npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@tobiipro/skylinkjs

v0.6.11-tobii.2

Published

SkylinkJS is an open-source client-side library for your web-browser that enables any website to easily leverage the capabilities of WebRTC and its direct data streaming powers between peers for audio/video conferencing or file transfer. This version has

Downloads

2

Readme

SkylinkJS

SkylinkJS is an open-source client-side library for your web-browser that enables any website to easily leverage the capabilities of WebRTC and its direct data streaming powers between peers for audio/video conferencing or file transfer.

We've gone to great length to make this library work in as many browsers as possible. SkylinkJS is build on top of AdapterJS and works with our Temasys WebRTC Plugin even in Internet Explorer and Safari on Mac and PC.

You'll need a Temasys Developer Account and an App key to use this. Register here to get your App key.

Supported Browsers

| Features | Chrome45-51+ | Firefox40-48+ | Opera32-36+ | IE9-11+ | Safari7-9 | | -------------- | ---------- | ----------- | --------- | ---------- | ---------- | | Screensharing | Yes with Chrome Extension** | Yes with Firefox Extension** | - | Yes with Commercial Temasys Plugin* | Yes with Commercial Temasys Plugin* | | Video Call | Yes | Yes | Yes | Yes with Temasys Plugin | Yes Temasys Plugin | | Audio Call | Yes | Yes | Yes | Yes with Temasys Plugin | Yes with Temasys Plugin | | File Transfers | Yes | Yes | Yes | Yes with Temasys Plugin | Yes with Temasys Plugin | | Chat Messaging | Yes | Yes | Yes | Yes with Temasys Plugin | Yes with Temasys Plugin |

  • (+) Latest browser versions indicates the last tested browser version. It should work with the updated next versions, but if it doesn't, open a bug ticket.
  • (*) Commerical Temasys Plugin incorporates additional features from Temasys Free Plugin.
  • (**) Our extensions works with Temasys demos and localhost demos. You will have to modify the extension to work on your hosted Web Applications. For Chrome extensions source code, contact us. For Firefox extensions source code, you may download from your Application Key in developer.temasys.com.sg.
Installation

Install SkylinkJS with npm:

npm install skylinkjs

Install SkylinkJS with bower:

bower install skylinkjs

Read more

Need help or want something changed?

You can raise tickets on our support portal or on our Github Page.

Current versions and stability

Always use the latest versions of the SkylinkJS library as WebRTC is still evolving and we adapt to changes very frequently.

Latest version: 0.6.11.

Noted Issues and Solutions

Installing 0.6.3 - 0.6.10 versions in NPM

Due to corrupted files being uploaded for 0.6.3 - 0.6.10 versions, we have removed these versions from the NPM repository. You may still install these versions using this command:

npm install git://github.com/Temasys/SkylinkJS#<version_tag>
Upgrading from 0.5.7 and below:

It's now recommended to use the init() callback instead of using readyStateChange event state to go completed as this may result in an infinite loop.

Ready state change triggers whenever the current room information is retrieved, and joining another room instead of the default room will result in a re-retrieval to the API server, causing readyStateChange to trigger again and making SkylinkJS to re-join the room over and over again.

// Use this
sw.init(data, function () {
  sw.joinRoom('name');
});

// Instead of
sw.on('readyStateChange', function (state) {
  if (state === sw.READY_STATE_CHANGE.COMPLETED) {
     sw.joinRoom('name');
  }
});

How to build your own SkylinkJS

In your Git terminal, execute the following commands:

# 1. Clone or download this repository via git terminal.

git clone https://github.com/Temasys/SkylinkJS.git

# 2. Install all required SkylinkJS dependencies. Use (sudo npm install) if required.

npm install

# 3. Install Grunt to run tasks.

npm install grunt -g
npm install grunt-cli -g

# 4. Install Browserify and Testling to run test scripts :

npm install browserify -g
npm install testling -g

# 5. Run the start script to start a local webserver to be able access the demo and doc folders. This will popup Chrome (Mac). You can configure a different browsers in the start.sh file. Alternatively, you can run (sh start.sh)

npm start # note that this runs in Chrome currently..

After making edits, here are some commands to run and build Skylink:

  • grunt jshint : To check for code formatting and syntax errors.
  • grunt yuidoc : To generate document from code.
  • grunt dev : To run and compile all the codes.
  • grunt publish : To run when code is ready for next release.

What's included in the repository?

  • demo : Contains the sample demos.
  • doc : Contains the generated YUI documentation for the SkylinkJS.
  • doc-style : Contains the template for our YUI documentation.
  • publish : Contains the production version of the library and a minified copy of it
  • source : Contains the skylink.js library development files
  • tests : Contains the list of test scripts.

License

APACHE 2.0