@nexusts/config
v0.9.4
Published
Zod-validated configuration with layered loading
Readme
@nexusts/config
NexusTS — Bun-native fullstack framework
Description
Zod-validated configuration with layered loading.
Layered config (env, .env, load()). Schema-validated with Zod. Read with ConfigService.get('db.host').
Install
This module is part of the NexusTS monorepo. Each module is published as its own npm package under the @nexusts/ scope.
Most apps start with just the core:
bun add @nexusts/coreThen add this module only if you need it:
bun add @nexusts/configPeer dependencies
None. No external dependencies. Zod is bundled with @nexusts/core.
Usage
import { /* public API */ } from "@nexusts/config";See the user guide and the example app for a working demo.
License
MIT — see the root LICENSE.
