@bunary/core
v0.1.0
Published
Foundation module for Bunary - config, environment, and app helpers
Maintainers
Readme
@bunary/core
Foundation for the Bunary framework: config (defineConfig, createConfig), environment (env, isDev, isProd, isTest). Full reference: docs/index.md.
Installation
bun add @bunary/coreQuick start
import { env, createConfig, defineConfig } from "@bunary/core";
const port = env("PORT", 3000);
const configStore = createConfig(defineConfig({ app: { name: "MyApp", env: "development", debug: true } }));
export default configStore.get();For API details, see docs/index.md.
License
MIT
