
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Genevy is a tool to generate .env file from your source code.

process.envMost users (me) use npx to run Genevy on the command line like this:
# Run on project
npx genevy "**/*{.js,.cjs,.ts}" -o .env --merge
# Run on file
npx genevy "config/production.js" -o .env.production --merge
The command line utility has several options. You can view the options by running npx genevy --help
Usage: genevy [options] <pattern>
CLI to generate .env file from source code.
Arguments:
pattern pattern
Options:
-V, --version output the version number
-o, --output <string> generate output file
-i, --ignore <list> ignore patterns (comma separated list) (default: "node_modules, .git, .svn, .hg")
-m, --merge merge result with output file (default: false)
--ignoreMismatch <list> ignore patterns when duplicate defaults usage detected (comma separated list) (default: "config/*.*")
--ignoreMismatchVariables <list> ignore specific variables when duplicate defaults usage detected (comma separated list) (default: "NODE_ENV")
--groupPrefixDepth <int> group variables by prefix depth (default: 2)
--groupList <list> group variables by prefixes list (default: "")
-h, --help display help for command
Options that accept array values can be specified with a comma-delimited list.
Example:
# This example group GOOGLE_ & MONGODB_ variables in single sections.
npx genevy "**/*{.js,.cjs,.ts}" -o .env --merge --groupList "GOOGLE, MONGODB"
This option makes only appends new variables that are not defined in your .env file.
FAQs
Genevy is a tool to generate `.env` file from your source code.
The npm package genevy receives a total of 2 weekly downloads. As such, genevy popularity was classified as not popular.
We found that genevy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.