$app/environment module provides access to environment variables and build-time information about your SvelteKit application.
browser
true if the app is running in the browser, false otherwise.dev
Whether the dev server is running. This is not guaranteed to correspond to
NODE_ENV or MODE.building
SvelteKit analyses your app during the
build step by running it. During this process, building is true. This also applies during prerendering.version
The value of
config.kit.version.name.