0.0.1 • Published 6 years ago

backtofront v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Interact (backtofront)

This package adds an extra layer to your application that makes it possible to build real-time applications.

Requirements

  • node/npm

Install

Add the package with npm:

npm install --save backtofront

Configuration

import { channel } from 'backtofront';

channel.config({
  url: '/interact/messages',
  key: null
});

Usage

import { channel } from 'backtofront';

channel.listen('app', (response) => {
  console.log(response);
});

Security

If you discover any security related issues, please email donaldpakkies@gmail.com instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.