
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.
yawn-yaml-cli
Advanced tools
A command-line YAML editor that preserves comments and styling.
Based on the Node.js package YAWN YAML.
npm install yawn-yaml-cli [--global]
yawn [command] # If installed with --global
$(npm bin)/yawn [command] # If installed locally
See yawn --help for all commands and options, including output format and error handling.
Major commands are listed below.
yawn getyawn get <file> <path>
Gets the specified entry inside the given YAML file.
Uses lodash.get() syntax for the path.
yawn setyawn set <file> <path> <value>
Sets an entry in the given YAML file.
Uses lodash.set() syntax for the path.
If adding to an existing array, any value higher than the last index will push to the last array index, instead of
inserting null entries:
users:
- alice
- bob
# Run `yawn set users.yaml users[10] jim`
users:
- alice
- bob
- jim # Inserted at index 3, not 10.
yawn pushyawn push <file> <path> <value>
Pushes the given value onto the end of an array, creating the array if needed.
# users.yaml
users:
- alice
- bob
yawn push users.yaml users "jim"
rm -rf users.yaml; yawn push users.yaml users "alice"
# will create "users.yaml", a "users" array, and will push "alice" onto the new array
FAQs
A command-line YAML editor that preserves comments and styling.
The npm package yawn-yaml-cli receives a total of 8 weekly downloads. As such, yawn-yaml-cli popularity was classified as not popular.
We found that yawn-yaml-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.

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.