
Research
/Security News
OpenAPI React Query Codegen Compromised in Mini Shai-Hulud npm Supply Chain Attack
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.
Read the Full Documentation (Wiki)
Automatically generate .env.example files by scanning your codebase for environment variable usage.
Stop letting your environment templates fall out of sync.
Asyq scans your source code to detect variable usage and automatically generates a complete .env.example file—ensuring your team never struggles with missing configuration keys again.
npm install -D asyq
# or
pnpm add -D asyq
# or
yarn add -D asyq
npx asyq init
Choose between two modes:
| Command | Description |
|---|---|
npx asyq init | Interactive setup |
npx asyq init --force | Overwrite existing files |
npx asyq init --monorepo | Generate for each workspace |
npx asyq init --debug | Show scan diagnostics |
| Option | Description |
|---|---|
--root <dir> | Project root to scan (default: .) |
--out <file> | Output filename (default: .env.example) |
--force | Overwrite without confirmation |
--include-lowercase | Include mixed-case variables |
--debug | Print detailed diagnostics |
--monorepo | Generate for root + workspaces |
# Basic usage
npx asyq init
# Force overwrite
npx asyq init --force
# Monorepo project
npx asyq init --monorepo
# Custom output
npx asyq init --out .env.template
# Scan specific directory
npx asyq init --root ./packages/api
Set your OpenAI API key:
export OPENAI_API_KEY=sk-...
npx asyq init
Or enter it when prompted (not saved to disk).
FAQs
Generate .env.example from your project's env usage
The npm package asyq receives a total of 0 weekly downloads. As such, asyq popularity was classified as not popular.
We found that asyq demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.