Aller au contenu principal

@w5s/env

W5S Environment variable module (@w5s/env)

NPM Version License

Installation

npm install @w5s/env

Usage

import { Env } from '@w5s/env';

export function main(): void {
console.log(Env['BLAH']);
}

License

MIT © Julien Polo julien.polo@gmail.com

Index

Type Aliases

Variables

Type Aliases

Env

Env: Record<string, Option<string>>

A dictionary of environment variables

Variables

Env

Env: Env

An object containing the environment variables

const NODE_ENV = Env['NODE_ENV'];
Page Options