JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 28
  • Score
    100M100P100Q67106F
  • License GPL-3.0

Node implementation of rdp protocol. RFC 3550

Package Exports

  • krtp

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (krtp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

KRTP

Travis branch GitHub stars npm version npm license npm Codacy Badge

Introduction

RealTime Protocol implementation based on RFC 3550 in NodeJS.

Example

const Session = require('../dist').Session

const s = new Session(1373)

s.on('message', (msg) => {
  console.log(msg)
  s.close()
})

s.sendSR('192.168.73.4').catch(err => {
  console.log(err)
})
s.send(Buffer.from('Hello world'))