
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@lucasmarkes/envfy
Advanced tools
Envfy is a simple and developer-friendly CLI tool to manage multiple .env
environments for your projects.
It helps developers quickly create, switch, and manage environment files (.env.local
, .env.dev
, .env.stage
, .env.prod
) and also generates a .env.example
file for sharing with your team.
Built with developer experience (DX) in mind. Keep your workflow simple, consistent, and hassle-free.
.env.*
files.env.example
automatically generatedYou can install Envfy globally via npm:
npm install -g envfy
Or clone and link locally for development:
git clone https://github.com/yourusername/envfy.git
cd envfy
npm install
npm run build
npm link
After installation, you can use envfy
globally in your terminal.
envfy init
.env.local
, .env.dev
, .env.stage
, .env.prod
.env.example
as a templateExample interaction:
Do you want to create environment variables now? (y/N) y
How many environment variables do you want to create? 3
Enter name for variable #1: API_URL
Enter name for variable #2: DB_USER
Enter name for variable #3: DB_PASS
✅ Created: .env.local
✅ Created: .env.dev
✅ Created: .env.stage
✅ Created: .env.prod
✅ Created: .env.example
envfy list
Example output:
Available environments:
- local
- dev
- stage
- prod
envfy switch dev
.env.dev
to .env
in your project rootenvfy set API_URL https://api.dev --env dev
.env.*
filelocal
if --env
is not providedenvfy status
Example output:
🌱 Active environment (.env):
API_URL=https://api.dev
DB_USER=root
DB_PASS=secret
envfy help
Shows all commands, descriptions, and examples:
Envfy - CLI to manage multiple .env environments
Commands:
init Create .env files (optional variables)
list List available environments
switch <env> Switch to the specified environment
set <key> <value> Set or update a variable in a specific .env file
status Show which environment is currently active
help Show this help message
Examples:
envfy init
envfy set API_URL https://api.dev --env dev
envfy switch dev
Envfy is built with developer experience in mind:
.env.example
Contributions are welcome! Feel free to:
Follow updates, share feedback, and connect on Twitter: @lucasmarkes__
FAQs
Simple CLI tool to manage .env environments easily
The npm package @lucasmarkes/envfy receives a total of 66 weekly downloads. As such, @lucasmarkes/envfy popularity was classified as not popular.
We found that @lucasmarkes/envfy 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.
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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.