The Browser / Node.js Client for
Clone or download

Build Status Coverage Status npm version Bower version dependencies Status devDependencies Status

The Browser / Node Client for


For API documentation see the documentation page!

For tutorials see the tutorial page!

Usage with Typescript

This repository comes with the Typescript typings bundled. No need to download them separately!

  1. Make sure the src/client.d.ts file is accessible to the Typescript compiler. Do this by making sure it's an included file in tsconfig.json by adding a typeRoots defininition. (Required Typescript 2.0 or higher.)

"typeRoots": [ "./node_modules/" ]

  1. Import the module in ES6 style.
import * as deepstream from '';

const client = deepstream('http://localhost').login();