# @polkadot/extension-base

> Functions, classes and other utilities used in @polkadot/extension

Latest version **0.63.1** (published 2026-03-31) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @polkadot/extension-base
pnpm add @polkadot/extension-base
yarn add @polkadot/extension-base
bun add @polkadot/extension-base
```

## Health

**Score 50/100 (C)** — status: active.

Positive: no vulnerabilities; high maintenance score.

Warnings: low downloads; no types; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.63.1 |
| Published | 2026-03-31 |
| First published | 2020-03-21 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1023 |
| Author | Jaco Greeff |
| Maintainers | jacogr, polkadotjs, paritytech-ci |

## Links

- npm: https://www.npmjs.com/package/@polkadot/extension-base
- Repository: https://github.com/polkadot-js/extension
- Homepage: https://github.com/polkadot-js/extension/tree/master/packages/extension-base#readme
- Issues: https://github.com/polkadot-js/extension/issues
- npm.io page: https://npm.io/package/@polkadot/extension-base

## Recent versions

- 0.63.1 (latest) — 2026-03-31
- 0.44.2-4 (beta) — 2022-06-21
- 0.62.6 — 2025-11-26
- 0.62.5 — 2025-11-17
- 0.62.4 — 2025-11-13
- 0.62.3 — 2025-10-23
- 0.62.2 — 2025-10-09
- 0.62.1 — 2025-09-25
- 0.61.7 — 2025-08-28
- 0.61.6 — 2025-08-14
- 0.61.5 — 2025-07-30
- 0.61.4 — 2025-07-17
- 0.61.3 — 2025-07-08
- 0.61.2 — 2025-07-04
- 0.61.1 — 2025-06-27
- … 498 more at https://npm.io/package/@polkadot/extension-base/versions

## README

# @polkadot/extension-base

Functions, classes and other utilities used in `@polkadot/extension`. These include:
- background script handlers,
- message passing,
- scripts injected inside pages.

They are primarily meant to be used in `@polkadot/extension`, and can be broken without any notice to cater for `@polkadot/extension`'s needs.

They are exported here if you wish to use part of them in the development of your 
own extension. Don't forget to add `process.env.EXTENSION_PREFIX` to separate 
ports and stores from the current extension's ones.

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