# @stellar/freighter-api

> Utility functions to interact with Freighter extension

Latest version **6.0.1** (published 2025-12-03) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @stellar/freighter-api
pnpm add @stellar/freighter-api
yarn add @stellar/freighter-api
bun add @stellar/freighter-api
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; high maintenance score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 6.0.1 |
| Published | 2025-12-03 |
| First published | 2020-10-29 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 96.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 122 |
| Author | Stellar Development Foundation |
| Maintainers | stellar-npm-ci, stellar-npm, quietbits, jacekn, fnando_sdf, cassiomg, piyalbasu |

## Links

- npm: https://www.npmjs.com/package/@stellar/freighter-api
- Repository: https://github.com/stellar/freighter
- Homepage: https://github.com/stellar/freighter#readme
- Issues: https://github.com/stellar/freighter/issues
- npm.io page: https://npm.io/package/@stellar/freighter-api

## Dependencies (2)

- [buffer](https://npm.io/package/buffer.md) 6.0.3
- [semver](https://npm.io/package/semver.md) 7.7.1

## Recent versions

- 6.0.1 (latest) — 2025-12-03
- 6.0.1-beta.0 (beta) — 2025-12-03
- 6.0.0 — 2025-11-20
- 5.0.0 — 2025-08-26
- 4.1.0 — 2025-03-05
- 3.1.0 — 2025-02-21
- 4.0.0 — 2025-01-14
- 3.0.0 — 2024-08-16
- 2.0.0 — 2024-02-27
- 1.7.1 — 2023-10-10
- 1.6.1 — 2023-10-09
- 1.7.0 — 2023-09-19
- 1.6.0 — 2023-08-04
- 1.5.1 — 2023-06-20
- 1.5.0 — 2023-06-15
- … 9 more at https://npm.io/package/@stellar/freighter-api/versions

## README

# Freighter API

This packages builds a wrapper around the messaging system used to interact with
the Freighter web extension. Client applications will be able to install this package
from npm and then integrate with Freighter using dev-friendly methods like
`getPublicKey`

For instructions on how to integrate with Freighter API, visit: https://docs.freighter.app/

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