1.0.1 • Published 3 years ago
declare-env v1.0.1
declare-env ⚙️
Generate an env.d.ts file from your .env file and import it in your project.
Installation
$ npm install -D declare-env # npm
$ yarn add --dev declare-env # yarn
$ pnpm add -D declare-env # pnpmUsage
$ declare-envThis will generate a env.d.ts file in your project root.
If tsconfig.json is present, generated file will be added to the files array.