/spaces-client

Synchronized Messages.

Primary LanguageJavaScriptMIT LicenseMIT

Data Spaces

$ npm i -S @q9adam/spaces-client
import SpacesClient from '@q9adam/spaces-client'
let sc = new SpacesClient()
var r = await sc.put('abc','hello')

sc.watch(n=>{
	console.log('data',n)
	},'abc')