Add the Konami Code easter egg to your project. Compatible with gestures on smartphones and tablets as well.
Latest commit 6114bf6 Feb 8, 2017 @georgemandis georgemandis committed on GitHub Update
Failed to load latest commit information. Update Feb 9, 2017
bower.json bumping version number Jan 5, 2017
konami.js bumping version number Jan 5, 2017
package.json bumping version number Jan 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.