# rupsena-sdk-demo

> This is the client SDK demo

Latest version **1.1.6** (published 2020-05-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install rupsena-sdk-demo
pnpm add rupsena-sdk-demo
yarn add rupsena-sdk-demo
bun add rupsena-sdk-demo
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.6 |
| Published | 2020-05-08 |
| First published | 2020-05-08 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 15.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Rupsena Purkayastha |
| Maintainers | rupsena |

## Links

- npm: https://www.npmjs.com/package/rupsena-sdk-demo
- npm.io page: https://npm.io/package/rupsena-sdk-demo

## Dependencies (2)

- [react](https://npm.io/package/react.md) ^16.13.1
- [react-dom](https://npm.io/package/react-dom.md) ^16.13.1

## Recent versions

- 1.1.6 (latest) — 2020-05-08
- 1.1.5 — 2020-05-08
- 1.1.4 — 2020-05-08
- 1.1.3 — 2020-05-08
- 1.1.2 — 2020-05-08
- 1.1.1 — 2020-05-08
- 1.1.0 — 2020-05-08
- 1.0.0 — 2020-05-08

## README

This is the client SDK for demo. It provides interface for the following tasks:

1. Generate Fake ID or Room ID.
2. Authenticates with Twilio and get the token.
3. More to come...

Example 1:

import VWR from 'vwr-client';

Access Twilio service

const VWRTwilio = VWR.VWRTwilio;

const roomId = VWRTwilio.generateFakeId();

const vwrTwilio = new VWRTwilio(roomId, 'http://localhost:3300');

const data = await vwrTwilio.authenticate('twilio/token');

Example 2:

import VWR from 'vwr-client';

Access Utility service

const Utility = VWR.Utility;

Get formatted date

Utility.getFormattedDate(new Date());

Get date string

Utility.getDateString(new Date());

---
_Source: https://npm.io/package/rupsena-sdk-demo · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
