
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
Manage environment variables, PATH, and rc files
npm install --save envosman
defaultRcPath (variable)RcOptions (type)Options for adding an rc file
sourceRCInRc (variable)handles adding conditions to source rc file from .bashrc and .profile
finalizeRC (function)Parameters:
RcOptions)returns: Promise
escapeString (function)Escape a string for use in a shell command
Parameters:
string) - The string to escapeboolean) - Whether to escape spaces in the stringreturns: any
AddEnvOptions (type)The options for adding an environment variable
addEnv (function)Add an environment variable.
This function is cross-platforms and works in all the local or CI systems.
Parameters:
string)string)Partial<AddEnvOptions>)returns: Promise
AddPathOptions (type)The options for adding a PATH variable
addPath (function)Add a path to the PATH environment variable.
This function is cross-platforms and works in all the local or CI systems.
Parameters:
string)Partial<AddPathOptions>)returns: Promise
You can sponsor my work here:
https://github.com/sponsors/aminya
Pull requests, issues and feature requests are welcome. See the Contributing guide.
FAQs
Manage environment variables, PATH, and rc files
The npm package envosman receives a total of 6 weekly downloads. As such, envosman popularity was classified as not popular.
We found that envosman 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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.