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.
- Host: GitHub
- URL: https://github.com/baikaresandip/node-extract-env-variables
- Owner: baikaresandip
- Created: 2025-07-02T15:22:22.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-07-02T15:43:01.000Z (7 months ago)
- Last Synced: 2025-07-02T16:42:16.065Z (7 months ago)
- Topics: environment, environment-variables, extract, extract-data, extraction, node, node-js, nodejs, npm, scanner
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`__