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


Future Improvements

Konami-JS is an ancient project by JavaScript standards, having started in 2009! I would love for 2019 to be the year it gets rewritten in a more modern way. Please checkout the issues and discussions surrounding the 2.0 branch.

I welcome the community's help in any of this 😃

Konami-JS in Action

Notable instances of Konami-JS in the wild include:

Watch & Listen

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

Listen to me talk about Konami-JS on the JS Party podcast here: https://changelog.com/jsparty/81


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—though that may change with the 2.0 branch.

Konami JS

Add the Konami Code easter egg to your project. Compatible with gestures on smartphones and tablets as well.

Konami JS Info

⭐ Stars 869
🔗 Source Code github.com
🕒 Last Update a year ago
🕒 Created 11 years ago
🐞 Open Issues 9
➗ Star-Issue Ratio 97
😎 Author snaptortoise