
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
can-haz-package
Advanced tools
Check if an npm package name is valid and does not currently exist.
uses validate-npm-package-name to check naming rules and uses npm view (via shelljs) to check if the package exists.
The return values are set up to conform to inquirer's validate function expectations.
Because of the reliance on shelljs and npm, this package will not work in the browser, sorry!
npm install can-haz-package
var canHazPackage = require('can-haz-package')
canHazPackage('this-should-never-be-taken-omg-whaaaat-999')
// reurns true
canHazPackage('standard')
// returns 'Sorry, that package name is taken! :('
canHazPackage(' ¯\_(ツ)_/¯ ')
// returns 'Package name does not conform to naming rules.'
Contributions welcome! Please read the contributing guidelines first.
FAQs
Check if an npm pacakge name is valid and does not exist.
We found that can-haz-package 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
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.