
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
A command line interface to cheerio library; vaguely similar to nokogiri; handy for shell scripts or makefiles.
$ npm -g i adieu
$ adieu -h
Usage: adieu [options] [file.html | URL]
Options:
-V, --version output the version number
-e, --eval <code> JS
-p, --print automatically console.log the result form -e
-r, --require <module> preload a module (default: [])
-R, --raw don't simplify printouts of cheerio/dom objects
-h, --help output usage information
Print all image urls from google's front page:
$ adieu -pe '$("img").map((_,v)=>$(v).attr("src")).get().join`\n`' http://google.com
/images/branding/googlelogo/1x/googlelogo_white_background_color_272x92dp.png
/textinputassistant/tia.png
Read html from the stdin:
$ curl -sL http://gnu.org | adieu -pe '$("h2").first().text()'
What is GNU?
Load html into a repl:
$ adieu http://gnu.org
Your document should be available via $
> $('a').length
107
name | desc |
---|---|
cheerio | |
$ | a cheerio instance w/ the loaded document |
p | alias to console.log |
puts | convert an arg to a string & write the result to the stdout |
MIT
FAQs
A command line interface to cheerio library; vaguely similar to nokogiri
The npm package adieu receives a total of 1 weekly downloads. As such, adieu popularity was classified as not popular.
We found that adieu 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
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.