Add the Konami Code as an easter egg to your web project. Compatible with keyboard and touch events.
For examples and additional information please visit: https://snaptortoise.github.io/konami-js/
A joyful, frivolous project by George Mandis
konami.jsin your project
npm install konami
bower install konami-js
Notable instances of Konami-JS in the wild include:
Submit a pull request if you would like to add your site to the list.
Watch me talk about the history of Konami-JS and the joy & value of maintaining "frivolous" open-source projects at OdessaJS here: https://www.youtube.com/embed/F3xI3ps7syI
If you'd prefer to use a CoffeeScript version you can find one here:
If you are looking for GamePad support check out this fork:
Your pull requests are welcome! Emphasis on small footprints, speed and broad device/browser compatability. Less interested in package manager and toolchain integrations.