manga-ts-socket-io-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

Manga TS Socket IO SDK

Example

import { MangaClient, MangaConfig } from "manga-ts-socket-io-sdk";

let config: MangaConfig = {
  ip: "127.0.0.1",
  port: "8000",
  appName: "test",
  connectTimeout: 10000,
  auth: {
    username: "test",
    password: "pass",
  },
};

let mangaClient: MangaClient;

mangaClient = new MangaClient(config);
mangaClient.connect().then((r) => {
  console.log("connected", r);
});

Package Sidebar

Install

npm i manga-ts-socket-io-sdk

Weekly Downloads

35

Version

0.1.3

License

Apache-2.0

Unpacked Size

13 kB

Total Files

12

Last publish

Collaborators

  • reytuty