collab-fork-deepstream.io-client-js
TypeScript icon, indicating that this package has built-in type declarations

2.3.1 • Public • Published

Looks like Deepstream has gone unmaintained, created this as a way to keep up with upgrades to Node versions

deepstream.io-client-js

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

The Browser / Node Client for deepstream.io

Documentation

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/deepstream.io-client.js/src/client.d.ts" ]

  1. Import the module in ES6 style.
import * as deepstream from 'deepstream.io-client-js';

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

/collab-fork-deepstream.io-client-js/

    Package Sidebar

    Install

    npm i collab-fork-deepstream.io-client-js

    Weekly Downloads

    6

    Version

    2.3.1

    License

    Apache-2.0

    Unpacked Size

    873 kB

    Total Files

    111

    Last publish

    Collaborators

    • rlancer