All projects
- Stars
- 6 stars
- Created
- Last push
- Languages
- TypeScript 52%
- JavaScript 48%
README
From the project README on GitHub.
dotenv-types
dotenv-types is a CLI for generating .env typings for Typescript
Installation
Use the package manager npm to install dotenv-types.
$ npm i -g dotenv-types
You can also run the CLI with npx
$ npx dotenv-types
Usage
$ dotenv-types -h
Outputs:
_ _ _
__| | ___ | |_ ___ _ ____ __ | |_ _ _ _ __ ___ ___
/ _` |/ _ \| __/ _ \ '_ \ \ / /____| __| | | | '_ \ / _ \/ __|
| (_| | (_) | || __/ | | \ V /_____| |_| |_| | |_) | __/\__ \
\__,_|\___/ \__\___|_| |_|\_/ \__|\__, | .__/ \___||___/
|___/|_|
Usage: dotenv-types[options]
Options:
-V, --version output the version number
-F, --file <file> Your .env file
-f, --filename <filename> Output filename
-d, --directory <dir> Output directory
-h, --help display help for command
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
