envrc-to-interface
your .envrc to TypeScript interface
Usage
$ cat .envrc
export TOKEN=dffsgdhfdsfgdfasdaf
$ npx envrc-to-interface .envrc
declare namespace NodeJS {
interface ProcessEnv {
readonly TOKEN: string;
}
}
Run:
$ npx envrc-to-interface .envrc >> env.d.ts
Contributors ✨
Thanks goes to these wonderful people (emoji key):
akameco 💻 📖 🚇 |
This project follows the all-contributors specification. Contributions of any kind welcome!
License
MIT © akameco