0.1.7 • Published 1 year ago

wst-client v0.1.7

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

WebSocket Time Protocol (WST) Client

A simple client implementation of the WebSocket Time Protocol (WST) in JavaScript, based on the work by M. Gutbrod, et al. in A light-weight time protocol based on common web standards.

Install

yarn add wst-client

Example

import { WST } from "wst-client"

const wst = new WST("ws://127.0.0.1:8080/wst")

wst.onmessage = (message, data) => {
    console.log(message, data)
}

wst.start()

Sponsor

Thanks to our sponsor Cignals footprint charts cryptocurrency charting platform.

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago