/env-js

Get environment variables in Deno, Bun and Node.js

Primary LanguageTypeScriptMIT LicenseMIT

env-js

ci

This is a simple package to get the environment variables, it works in different runtimes like Deno, Bun and Node.js.

🚀 Usage

import * as env from 'jsr:@tsirysndr/env-js';

console.log(env.get('HOME'));
console.log(env.has('HOME'));