# n8n-workflow

> Workflow base code of n8n

Latest version **2.16.0** (published 2026-04-07) · SEE LICENSE IN LICENSE.md license · 286.1K weekly downloads

## Install

```sh
npm install n8n-workflow
pnpm add n8n-workflow
yarn add n8n-workflow
bun add n8n-workflow
```

## Health

**Score 95/100 (A)** — status: active.

Positive: moderate downloads; has types; esm support; no vulnerabilities; has provenance; high maintenance score; high quality score; popular repo; extremely popular.

## Facts

| | |
|---|---|
| Version | 2.16.0 |
| Published | 2026-04-07 |
| First published | 2019-06-21 |
| Weekly downloads | 286.1K |
| License | SEE LICENSE IN LICENSE.md |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 20 |
| Unpacked size | 3.7 MB |
| Known vulnerabilities | 0 (+4 in 3 direct dependencies) |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 206573 |
| Author | Jan Oberhauser |
| Maintainers | jan_n8n_io, tomin8n |

## Links

- npm: https://www.npmjs.com/package/n8n-workflow
- Repository: https://github.com/n8n-io/n8n
- Homepage: https://n8n.io
- Issues: https://github.com/n8n-io/n8n/issues
- npm.io page: https://npm.io/package/n8n-workflow

## Dependencies (20)

- [md5](https://npm.io/package/md5.md) 2.3.0
- [zod](https://npm.io/package/zod.md) 3.25.67
- [uuid](https://npm.io/package/uuid.md) 10.0.0
- [jssha](https://npm.io/package/jssha.md) 3.3.1
- [luxon](https://npm.io/package/luxon.md) 3.7.2
- [lodash](https://npm.io/package/lodash.md) 4.17.23
- [recast](https://npm.io/package/recast.md) 0.22.0
- [xml2js](https://npm.io/package/xml2js.md) 0.6.2
- [jmespath](https://npm.io/package/jmespath.md) 0.16.0
- [ast-types](https://npm.io/package/ast-types.md) 0.16.1
- [callsites](https://npm.io/package/callsites.md) 3.1.0
- [form-data](https://npm.io/package/form-data.md) 4.0.4
- [js-base64](https://npm.io/package/js-base64.md) 3.7.2
- [jsonrepair](https://npm.io/package/jsonrepair.md) 3.13.2
- [title-case](https://npm.io/package/title-case.md) 3.0.3
- [@n8n/errors](https://npm.io/package/@n8n/errors.md) 0.6.0
- [esprima-next](https://npm.io/package/esprima-next.md) 5.8.4
- [@n8n/tournament](https://npm.io/package/@n8n/tournament.md) 1.0.6
- [transliteration](https://npm.io/package/transliteration.md) 2.3.5
- [@n8n/expression-runtime](https://npm.io/package/@n8n/expression-runtime.md) 0.8.0

## Recent versions

- 2.16.0 (latest) — 2026-04-07
- 2.42.2 (beta) — 2026-10-01
- 2.41.2 (stable) — 2026-10-01
- 1.120.32 (release-v1) — 2026-09-30
- 2.14.1 (next) — 2026-03-25
- 1.109.0 (rc) — 2025-09-15
- 0.156.1 (legacy) — 2023-07-12
- 2.41.1 — 2026-09-30
- 2.42.1 — 2026-09-30
- 2.42.0 — 2026-09-29
- 2.41.0 — 2026-09-22
- 2.39.3 — 2026-09-18
- 1.120.31 — 2026-09-17
- 2.39.2 — 2026-09-16
- 1.120.30 — 2026-09-16
- … 494 more at https://npm.io/package/n8n-workflow/versions

## README

![n8n.io - Workflow Automation](https://user-images.githubusercontent.com/65276001/173571060-9f2f6d7b-bac0-43b6-bdb2-001da9694058.png)

# n8n-workflow

Workflow base code for n8n

```
npm install n8n-workflow
```

## License

You can find the license information [here](https://github.com/n8n-io/n8n/blob/master/README.md#license)

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