1.0.9 • Published 4 years ago

@happy-code/pipes v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Pipes

Whats this then?

Pipes is an express wrapper for nodejs that enables multiple web-servers and multiple client side apps to share a common state with automated real-time updates

Client applications that wish to utilise pipes will need to either follow the TBD pipes-fe-socket-protocol or implement @happy-code/react-pipes the front end Library library

Installation

bash $>npm install @happy-code/pipes

Usage

minimal example

The following will

const Pipes = require("@happy-code/pipes")
const pipe = Pipes();

pipe.client("/path/to/public", {
  port: 4000,
});

pipe.useContext({ counter: 0 });
pipe.start();
1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

5 years ago