---
url: /reference/api/Variable.version.md
---
# Variable: version

```ts
const version: string = pkg.version
```

Defined in: [src/index.ts:8](https://github.com/rolldown/tsdown/blob/e2e174deff987cf3e0d48eac0ef8b59f68f736c0/src/index.ts#L8)
