Skip to main content
@natoboram/load_env is available on multiple package registries for your convenience.

Package Managers

Choose your preferred package manager to install Load Env:
npm install @natoboram/load_env
When using JSR, note that the package name uses a hyphen: @natoboram/load-env

Requirements

Load Env requires Node.js 22.12 or higher
The library is written in TypeScript and includes full type definitions. No additional type packages are needed.

Available Registries

Load Env is published to multiple registries:

Verify Installation

After installation, verify that Load Env is working correctly:
import { loadEnv } from "@natoboram/load_env"

console.log(typeof loadEnv) // Should output: "function"
If you’re using JSR:
import { loadEnv } from "jsr:@natoboram/load-env"

console.log(typeof loadEnv) // Should output: "function"

TypeScript Configuration

Load Env is written in TypeScript and includes type definitions. Ensure your tsconfig.json is configured for ES modules:
tsconfig.json
{
  "compilerOptions": {
    "module": "ESNext",
    "moduleResolution": "bundler",
    "target": "ES2022",
    "lib": ["ES2022"]
  }
}

Next Steps

Quick Start

Learn how to use Load Env with a complete working example

Build docs developers (and LLMs) love