Never think all npm packages have been created already. The world is full of inspiration if you’re open to it. For example, this Rob Dodson tweet:
Hacking on Chromium. I found where all the CSS pseudo classes get made. Gonna sneak a :yolo in there. You'll thank me later. pic.twitter.com/Aus4vLvjUc
— Rob Dodson ʕ•ᴥ•ʔ/ (@rob_dodson) January 30, 2018
After seeing it, yours truly thought: “that sounds like a capital idea!”. So, in a rush of inspiration, the yolo-selector npm package was born. It is a jQuery extension that adds a pseudo selector :yolo. This selector uses a list pilfered from the Mozilla Documentation for HTML elements that have fallen from grace, like blink, marquee, acronym, font, and many more.
The implementation may be half-joke, but it has tests, and CI and the works. Feel free to create issues if more elements need to be added.
Soooo, yeah. https://t.co/99F3CjZxLb
— Javi (@javver) January 31, 2018