# @firebase/webchannel-wrapper

> A wrapper of the webchannel packages from closure-library for use outside of a closure compiled application

Latest version **1.0.7** (published 2026-08-19) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @firebase/webchannel-wrapper
pnpm add @firebase/webchannel-wrapper
yarn add @firebase/webchannel-wrapper
bun add @firebase/webchannel-wrapper
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2026-08-19 |
| First published | 2017-09-20 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 347.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5141 |
| Author | Firebase |
| Maintainers | firebase-ops, feiyang.chen, google-wombot, chholland |

## Links

- npm: https://www.npmjs.com/package/@firebase/webchannel-wrapper
- Repository: https://github.com/firebase/firebase-js-sdk
- Homepage: https://github.com/firebase/firebase-js-sdk#readme
- Issues: https://github.com/firebase/firebase-js-sdk/issues
- npm.io page: https://npm.io/package/@firebase/webchannel-wrapper

## Recent versions

- 1.0.7 (latest) — 2026-08-19
- 1.0.6-eap-crashlytics.e21972d2a (eap-crashlytics) — 2026-09-11
- 1.0.7-20260818172054 (next) — 2026-08-18
- 1.0.5-canary.bfb9accdc (canary) — 2026-04-01
- 1.0.5-caching-fdc.9f17eac6e (caching-fdc) — 2025-12-16
- 1.0.5-eap-firestore-pipelines.2.e4cdd2e06 (eap-firestore-pipelines) — 2025-11-06
- 1.0.4-firebase-studio-sdk-integration.556d1bed2 (firebase-studio-sdk-integration) — 2025-08-13
- 1.0.3-eap-ai-hybridinference.58d92df33 (eap-ai-hybridinference) — 2025-05-28
- 1.0.3-eap-vertexai-hybgoog.31261ca31 (eap-vertexai-hybgoog) — 2025-04-29
- 1.0.3-auth-redirect-credentials.b424e5897 (auth-redirect-credentials) — 2025-04-25
- 1.0.3-ssl-check.4f23f3343 (ssl-check) — 2025-04-23
- 1.0.3-eap-vertexai-hybridinference.e83974308 (eap-vertexai-hybridinference) — 2025-04-23
- 1.0.1-vertexai-preview.6b035b7d3 (vertexai-preview) — 2024-09-27
- 1.0.1-dataconnect-preview.d986d4bf2 (dataconnect-preview) — 2024-07-31
- 1.0.0-eap-firestore-backfiller.87babf60c (eap-firestore-backfiller) — 2024-06-25
- … 3441 more at https://npm.io/package/@firebase/webchannel-wrapper/versions

## README

# @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.

## Usage

The following 5 modules are exposed for use:

- `createWebChannelTransport`
- `ErrorCode`
- `EventType`
- `WebChannel`
- `XhrIoPool`

You can include these by doing the following:

**ES Modules**

```javascript
import { WebChannel } from '@firebase/webchannel-wrapper'

// Do stuff with WebChannel
```

**CommonJS Modules**

```javascript
const webchannelWrapper = require('@firebase/webchannel-wrapper');

// Do stuff with webchannelWrapper.ErrorCode, webchannelWrapper.EventType, etc 
```

---
_Source: https://npm.io/package/@firebase/webchannel-wrapper · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
