
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@henderea/node-utils
Advanced tools
Some utility scripts written in NodeJS and distributed via NPM.
npm install -g @henderea/node-utils
Get a value from a file using xpath
xpath-get XML_FILENAME XPATH_EXPRESSION
xpath-get pom.xml "/project/dependencies/dependency[artifactId='log4j']/version/text()"
You can also call xpath-get help, xpath-get --help, or xpath-get -h to get usage info.
Set a node's text content in a file using xpath
xpath-set [-y|--yes] XML_FILENAME XPATH_EXPRESSION NEW_VALUE
xpath-set pom.xml "/project/dependencies/dependency[artifactId='log4j']/version" "4.0.0"
You can also call xpath-set help, xpath-set --help, or xpath-set -h to get usage info.
You can pass -y or --yes to xpath-set to automatically confirm the change.
Format a date using MomentJS
moment-date [-o|--output-format|-f|--format OUTPUT_FORMAT] [-i|--input-format INPUT_FORMAT] [-d|--date DATE] [-t|--output-timezone OUTPUT_TIMEZONE] [-z|--input-timezone INPUT_TIMEZONE]
moment-date -f 'dddd, MMMM Do YYYY, h:mm:ss.SSS a'
Please see moment-date help for usage info (also available with moment-date -h and moment-date --help)
FAQs
Some node utility scripts
The npm package @henderea/node-utils receives a total of 11 weekly downloads. As such, @henderea/node-utils popularity was classified as not popular.
We found that @henderea/node-utils 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.