```js // @noErrors import { browser, building, dev, version } from '$app/environment'; ``` ## browser `true` if the app is running in the browser.
```dts const browser: boolean; ```
## building SvelteKit analyses your app during the `build` step by running it. During this process, `building` is `true`. This also applies during prerendering.
```dts const building: boolean; ```
## dev Whether the dev server is running. This is not guaranteed to correspond to `NODE_ENV` or `MODE`.
```dts const dev: boolean; ```
## version The value of `config.kit.version.name`.
```dts const version: string; ```