elysia-env
v1.0.2
Published
## Installing ```bash bun add elysia-env ```
Downloads
3
Readme
Elysia Env
Installing
bun add elysia-env
Example code:
const env = t.Object({
TOKEN: t.String(),
});
const app = new Elysia()
.decorate('env', envPlugin(env))
.get('/', ({ env }) => `Hello World ${env.TOKEN}`)
.listen(3000);