Add the Konami Code easter egg to your project. Compatible with gestures on smartphones and tablets as well.
Switch branches/tags
Latest commit 8d48eb9 Sep 5, 2017 @georgemandis georgemandis version bump
Failed to load latest commit information. Added May 15, 2017 Update Feb 9, 2017
bower.json version bump Sep 5, 2017
konami.js version bump Sep 5, 2017
package.json version bump Sep 5, 2017


Add the Konami Code as an easter egg to your web project. Compatible with keyboards and touch events.

For example and additional information please visit:

Notable instances of Konami-JS in the wild include:


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 manger and toolchain integrations.