webchannel-wrapper
v0.0.2
Published
A library for use webchannels outside of the closure compiler
Readme
webchannel-wrapper
This is a wrapper of some Webchannel Features.
Installation
You can install this wrapper by running the following in your project:
$ npm install webchannel-wrapperUsage
The following 5 modules are exposed for use:
createWebChannelTransportErrorCodeEventTypeWebChannelXhrIoPool
You can include these by doing the following:
ES Modules
import { WebChannel } from '@firebase/webchannel-wrapper'
// Do stuff with WebChannelCommonJS Modules
const webchannelWrapper = require('@firebase/webchannel-wrapper');
// Do stuff with webchannelWrapper.ErrorCode, webchannelWrapper.EventType, etc 