@zero-server/env
v0.9.6
Published
Typed .env loader with schema validation.
Readme
@zero-server/env
Typed .env loader with schema validation.
Typed .env loader with multi-file support (.env, .env.local, .env.{NODE_ENV}, .env.{NODE_ENV}.local), variable interpolation, and schema-driven type coercion (string, number, integer, port, boolean, array, json, url, enum).
Install
npm install @zero-server/envOr install the full SDK to get everything at once:
npm install @zero-server/sdkUsage
const { env } = require('@zero-server/env')Public surface
This package provides 1 public exports as a standalone runtime bundle. See the scope page for the full list.
Documentation
License
MIT © Anthony Wiedman
