@diory/client-js
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

Diosphere

Install

npm install @diory/client-js
# or
yarn add @diory/client-js

Usage

const clients = [localClient, S3Client, ...]
const { diosphere, room, diograph, diory } = DioryClient(clients)
diosphere.initialise([connection])
diosphere.enterRoom(room)
diograph.focusDiory(diory)
console.log('Hello Diosphere!', diosphere.toObject())

Internal methods

client.getDiosphere()
client.saveDiosphere()
client.getDiograph()
client.saveDiograph()

Development

Compile typescript in real time to /dist folder:

yarn build-watch

Run unit tests in the background:

yarn test-watch

Readme

Keywords

Package Sidebar

Install

npm i @diory/client-js

Weekly Downloads

4

Version

0.2.0

License

MIT

Unpacked Size

38.1 kB

Total Files

43

Last publish

Collaborators

  • opohjola