An open API service indexing awesome lists of open source software.

https://github.com/baikaresandip/node-extract-env-variables

This repo will extract the environment variables in the .env.example file of the repo.
https://github.com/baikaresandip/node-extract-env-variables

environment environment-variables extract extract-data extraction node node-js nodejs npm scanner

Last synced: 7 months ago
JSON representation

This repo will extract the environment variables in the .env.example file of the repo.

Awesome Lists containing this project

README

          

# Node Extract env variables
This repo will extract the environment variables in the .env.example file of the repo.
## Steps to do that
- Clone the repo to local
- Install the packages `npm i`
- To scan files and generate the .env file run the below command.

```js
node extract-env-vars.js
```
- `.env.example` file will get generated at the given path if the environment variables found at the directory.

## Rules to scan
__In the node project there should be the environment variables written with `process.env.VARIABLE_NAME`__