Skip to main content

@gnome/env@0.2.0
Built and signed on GitHub Actions

a cross runtime module for managing environment variables which includes bash like variable expansion and manipulating the path variable.

This package works with Bun, Cloudflare Workers, Node.js, Deno, Browsers
JSR Score
94%
Published
a week ago (0.2.0)
variable HOME_CONFIG_DIR

Represents the environment HOME config directory name which is APPDATA on windows and XDG_CONFIG_HOME on some systems.

Type

"AppData" | "XDG_CONFIG_HOME"

Add Package

deno add @gnome/env

Import symbol

import { HOME_CONFIG_DIR } from "@gnome/env/constants";

Add Package

npx jsr add @gnome/env

Import symbol

import { HOME_CONFIG_DIR } from "@gnome/env/constants";

Add Package

yarn dlx jsr add @gnome/env

Import symbol

import { HOME_CONFIG_DIR } from "@gnome/env/constants";

Add Package

pnpm dlx jsr add @gnome/env

Import symbol

import { HOME_CONFIG_DIR } from "@gnome/env/constants";

Add Package

bunx jsr add @gnome/env

Import symbol

import { HOME_CONFIG_DIR } from "@gnome/env/constants";