1.1.82 • Published 2 years ago

starn v1.1.82

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Starn

Starn is a simple and fast messaging system.

Starn is an MIT-licensed open source project.

Getting Started

Installation

  npm install starn  

or

  yarn add starn

Usage

How to create new Starn

  import { Starn } from 'starn';

  const starn = new Starn({
    port: 2222,
    host: "localhost",
    topics: ["A"]
  });

How to create new Sender

  const sender = starn.sender()
  
  sender.sendMessage("A", "Hello A");

How to create new Client

  const client = starn.client();
   
   client.getMessage("A", data => console.log(data));

LICENSE

MIT

1.1.81

2 years ago

1.1.82

2 years ago

1.1.8

3 years ago

1.1.79

3 years ago

1.1.77

3 years ago

1.1.75

3 years ago

1.1.73

3 years ago

1.1.71

3 years ago

1.1.7

3 years ago

1.1.65

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.46

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago