
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
env-manager-cli
Advanced tools
Contactually's environmental variable management CLI. It updates your local .env
as well as runs the commands for your staging and production values.
yarn add --dev env-manager-cli
envManager.js
import envManager from 'env-manager-cli'
envManager({
stagingCommand: (key, value) => `heroku config:set ${key}=${value} test`,
productionCommand: (key, value) => `heroku config:set ${key}=${value} prod`
})
package.json
"scripts": {
"env:set": "node ./envManager",
},
now running yarn env:set
will result in the following prompt
String
Optional this is the path to your local .env file. The default is "./.env"Function
a function which accepts a key and value, and returns the staging update command. This will be logged and executed in the terminalFunction
a function which accepts a key and value, and returns the production update command. This will be logged and executed in the terminalFAQs
a manager for local and heroku environmental variables
We found that env-manager-cli 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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.