Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@firebase/webchannel-wrapper

0.2.41 • Public • Published

@firebase/webchannel-wrapper

NOTE: This is specifically tailored for Firebase JS SDK usage, if you are not a member of the Firebase team, please avoid using this package

This is a wrapper of some Webchannel Features for the Firebase JS SDK.

Installation

You can install this wrapper by running the following in your project:

$ npm install @firebase/webchannel-wrapper

Usage

The following 5 modules are exposed for use:

  • createWebChannelTransport
  • ErrorCode
  • EventType
  • WebChannel
  • XhrIoPool

You can include these by doing the following:

ES Modules

import { WebChannel } from '@firebase/webchannel-wrapper'
 
// Do stuff with WebChannel

CommonJS Modules

const webchannelWrapper = require('@firebase/webchannel-wrapper');
 
// Do stuff with webchannelWrapper.ErrorCode, webchannelWrapper.EventType, etc 

Keywords

none

Install

npm i @firebase/webchannel-wrapper

DownloadsWeekly Downloads

589,783

Version

0.2.41

License

Apache-2.0

Unpacked Size

3.17 MB

Total Files

8

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar