---
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/7fd0ebe7ca576f0210043cd29809a1ad0ec33410/src/index.ts#L8)
