1.0.3 • Published 2 years ago

@upenha/env v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Upenha ENV

Inspired by T3 Env

Setup

  1. Install the package
npm i @upenha/env dotenv
  1. Create an environment file (in this case im using src/env.ts)
import { config } from 'dotenv';
config()
import { createEnv } from '@upenha/env';
export const env = createEnv({
  // your zod schema for environment
})

You need an .env file too, so don't forget to create one

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago