
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
use-cornify
Advanced tools
🦄 Put unicorns and rainbows on any website on the Internet with a single React Hook!
The Cornify script gives you the magical power to put unicorns and rainbows on any website on the Internet. Since 2009, it has served over 400 million unicorns and rainbows. How wonderful indeed.
And today: You can use it as a React Hook!
Check out the /example directory for a full fletched example of the hook. A demo can be found here: use-cornify.surge.sh
Start cornifying by adding the below code. Then start entering the Konami code and see the magic happen instantly!
Pro Tip: Use as an easter egg on your next website!
Konami code: ↑ ↑ ↓ ↓ ← → ← → b a
/**
* useCornify
*
* @param {string[]} [keys=['ArrowUp', 'ArrowUp', 'ArrowDown', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'ArrowLeft', 'ArrowRight', 'b', 'a']]
* @param {boolean} [addCupcakeButton=true]
* @param {boolean} [addMagicalWords=true]
* @param {string} [younicorns]
*/
const { remove } = useCornify({
keys: ['ArrowUp', 'ArrowDown', 'Enter'],
showCupCakeButton: false,
addMagicalWords: false,
younicorns: '12,957,826,716,386'
})
// To manually remove all unicorns
remove()
These days, you can create your own personal unicorns on Cornify. They are called Younicorns. If you want the Cornify script to show your Younicorns, you can provide a list of Younicorn IDs to the script, like this:
useCornify({ younicorns: "12,957,826,716,386" });
To find the IDs, navigate your browser to a Younicorn page and look at the URL. It will include a number - that's the ID.
Big thanks to:
Unicorns & Rainbows On-Demand
http://www.cornify.com
FAQs
🦄 Put unicorns and rainbows on any website on the Internet with a single React Hook!
The npm package use-cornify receives a total of 5 weekly downloads. As such, use-cornify popularity was classified as not popular.
We found that use-cornify 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

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.