Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
The spawn shell option is added from dotenv-cli
.
env-exec [--help] [--debug] [-e <path>] [-p <constiable name>] [-c [environment]] [-- command]
--help print help
--debug output the files that would be processed but don't actually parse them or run the `command`
-e <path> parses the file <path> as a `.env` file and adds the constiables to the environment
-e <path> multiple -e flags are allowed
-p <constiable> print value of <constiable> to the console. If you specify this, you do not have to specify a `command`
-c [environment] support cascading env constiables from `.env`, `.env.local`, `.env.<environment>`, `.env.<environment>.local` files
command `command` is the actual command you want to run. Best practice is to precede this command with ` -- `. Everything after `--` is considered to be your command. So any flags will not be parsed by this tool but be passed to your command. If you do not do it, this tool will strip those flags
FAQs
## Info
We found that env-exec 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.