Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

@geckos.io/client

Package Overview
Dependencies
1
Maintainers
1
Versions
47
Issues
File Explorer

Advanced tools

@geckos.io/client

Real-time client/server communication over UDP using WebRTC and Node.js

    2.2.0latest

Version published
Maintainers
1
Yearly downloads
7,866
increased by37.9%

Weekly downloads

Readme

Source
logo

@geckos.io/client

NPM version Downloads Node version Minified bundle Snyk Vulnerabilities for GitHub Repo (Specific Manifest) NPM Codecov ES Modules Badge

Real-time client/server communication over UDP using WebRTC and Node.js.

This framework fits perfectly with your next HTML5 real-time multiplayer games or chat app.

Read the documentation for more information.

Install

npm install @geckos.io/client

Use

import geckos from '@geckos.io/client' // or add a minified version to your index.html file // https://github.com/geckosio/geckos.io/tree/master/bundles/versions const channel = geckos() channel.onConnect(error => { if (error) { console.error(error.message) return } channel.on('chat message', data => { console.log(`You got the message ${data}`) }) channel.emit('chat message', 'a short message sent to the server') })

Keywords

FAQs

What is @geckos.io/client?

Real-time client/server communication over UDP using WebRTC and Node.js

Is @geckos.io/client popular?

The npm package @geckos.io/client receives a total of 129 weekly downloads. As such, @geckos.io/client popularity was classified as not popular.

Is @geckos.io/client well maintained?

We found that @geckos.io/client demonstrated a healthy version release cadence and project activity. It has 1 open source maintainer collaborating on the project.

Last updated on 21 Apr 2022
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc