tubing-frame

0.1.2 • Public • Published

tubing-frame

IFrame transport for tubing.

Usage

In tubing-frame you just specify a name for the server and connect to the name from the client.

The client will search for the server of the specified name on all of the frames it can find.

Server
// import tubing and create an app ...

import listener from 'tubing-frame/listener';

listener(app).listen('server-name');
Client
// import tubing and create an app ...

import connector from 'tubing-frame/connector';

connector(app).connector('server-name');

Readme

Keywords

none

Package Sidebar

Install

npm i tubing-frame

Weekly Downloads

0

Version

0.1.2

License

ISC

Last publish

Collaborators

  • mattinsler