Skip to content

iopa-io/iopa-udp

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

IOPA iopa-udp

Build Status IOPA limerun

NPM

About

iopa-udp is an API-First User Datagram Protocol (UDP) stack for Internet of Things (IoT), based on the Internet of Protocols Alliance (IOPA) specification

It servers UDP messages in standard IOPA format and allows existing middleware for Connect, Express and limerun projects to consume/send each mesage.

It is an open-source, standards-based, lighter-weight replacement for other UDP clients and brokers

Written in plain javascript for maximum portability to constrained devices, and consumes the standard node.js require('net') library

Makes UDP connections look to an application like a standard Request Response REST (HTTP-style) message so little or no application changes required to support multiple REST protocols on top of this transport.

Status

Fully working server and client.

Installation

npm install iopa-udp

Install typings for Intellisense (e.g., Visual Studio Code, Sublime TSD plugins, etc.)

npm run typings

Includes:

Server Functions

  • listen
  • close

Client Functions

  • connect
  • context.fetch(url, options, callback)
  • context[server.RawStream].write();

Installation

npm install iopa-udp

About

Lightweight User Datagram Protocol (UDP) server and client, based on Internet of Protocols Alliance (IOPA) specification

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published