env-guard v1.1.0 — SwaHub
Load environment variables from .env files with validation.
Code Reference (main.sw)
swalang install env-guard# Env Guard
Safely manage your environment variables.
## Usage
```swalang
// in .env
// API_KEY=yoursecretkey
import env from 'env-guard';
// Access your variables
const apiKey = env.get('API_KEY');
```
Sitemap & Ecosystem Navigation
Language & Tools
Community & Dictionary
Foundation & Governance
Viewing the pre-rendered indexable snapshot of this resource.
Open in Swalang Web IDE →