# @onflow/typedefs

> Flow JS Type Defs

Latest version **1.8.0** (published 2025-10-21) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @onflow/typedefs
pnpm add @onflow/typedefs
yarn add @onflow/typedefs
bun add @onflow/typedefs
```

## Health

**Score 65/100 (B)** — status: stable.

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.8.0 |
| Published | 2025-10-21 |
| First published | 2023-03-17 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 151.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 333 |
| Author | Flow Foundation |
| Maintainers | han210, dapperj, dapper_labs, jeffreydoyle, harry.eth, turbolent_flow, chasefleming, gregsantos, gregorggg, jribbink, bthaile, nialexsan, sisyphussmiling, lmcmze |

## Links

- npm: https://www.npmjs.com/package/@onflow/typedefs
- Repository: https://github.com/onflow/fcl-js
- Homepage: https://flow.com
- Issues: https://github.com/onflow/fcl-js/issues
- npm.io page: https://npm.io/package/@onflow/typedefs

## Dependencies (1)

- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.25.7

## Recent versions

- 1.8.0 (latest) — 2025-10-21
- 1.7.0-alpha.0 (alpha) — 2025-07-09
- 1.3.0-event-streaming.1 (event-streaming) — 2023-11-29
- 1.2.0-typescript.0 (typescript) — 2023-11-01
- 1.7.1 — 2025-09-08
- 1.7.0 — 2025-07-25
- 1.6.0 — 2025-05-22
- 1.6.0-alpha.0 — 2025-05-15
- 1.5.0 — 2025-05-08
- 1.4.1 — 2025-03-18
- 1.4.0 — 2024-11-27
- 1.4.0-alpha.2 — 2024-11-21
- 1.4.0-alpha.1 — 2024-10-24
- 1.4.0-alpha.0 — 2024-10-22
- 1.3.1 — 2024-09-28
- … 18 more at https://npm.io/package/@onflow/typedefs/versions

## README

JSDoc typedefs and TypeScript types.

```typescript

import {CurrentUser} from "@onflow/typedefs"

const newUser: CurrentUser = { 
  addr: null,
  cid: null,
  expiresAt: null,
  f_type: 'User',
  f_vsn: '1.0.0',
  loggedIn: null,
  services: []
}

```

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