Skip to content

deepstreamIO/deepstream.io-client-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8b7ad1d · Feb 20, 2024
Feb 20, 2024
Apr 2, 2021
Sep 23, 2020
Feb 16, 2024
Jun 10, 2019
Apr 16, 2019
Jul 12, 2019
Feb 16, 2024
Jul 10, 2016
Jun 2, 2022
Feb 20, 2024
Feb 20, 2024
Jan 18, 2023
Jul 16, 2019
Feb 21, 2023
Oct 7, 2019

Repository files navigation

deepstream.io-client-js

Build Status Coverage Status npm version

The Browser / Node Client for deepstreamIO

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!

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" ]

Install in react-native

For usage in react-native the bundled client available at dist/bundle/ds.js must be used. In order to automatically change the main file in package.json to the bundle file install as: DEEPSTREAM_ENV=react-native npm install @deepstream/client. Also the metro bundler must be configured. Check the documentation for more details