@easy-push/ts-client
TypeScript icon, indicating that this package has built-in type declarations

1.0.9 • Public • Published

easy-push typescript client SDK

Installation

npm install --save @easy-push/ts-client

Usage

import EasyPushClient from '@easy-push/ts-client';

const client = new EasyPushClient("https://easy-push-api.sayanbiswas.in", "meow", "uwu");
const channel = client.getChannel(5);

client.subscribeToChannel(5, (message) => {
    console.log(message);
});

Dependencies (2)

Dev Dependencies (16)

Package Sidebar

Install

npm i @easy-push/ts-client

Weekly Downloads

0

Version

1.0.9

License

MIT

Unpacked Size

19.1 kB

Total Files

9

Last publish

Collaborators

  • sayanbiswas