npm install @stream-io/feeds-client
// or using yarn
yarn add @stream-io/feeds-client
Activity Feeds V3 is in closed alpha — do not use it in production (just yet).
Installation
GitHub repository: https://github.com/GetStream/stream-feeds-js. Feel free to submit bug reports and feature requests.
The package can be used with both JavaScript and TypeScript.
import { FeedsClient } from '@stream-io/feeds-client';
const client = new FeedsClient('<API key>'');
await client.connectUser(
{ id: 'john' },
'<user token>',
);