konami

An easter-egg script for adding the Konami Code to your website or project.

  • konami

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
konami
95001.6.32 years ago13 years agoMinified + gzip package size for konami in KB

Readme

Konami-JS
Version Downloads/week License
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://georgemandis.github.io/konami-js/
A joyful, frivolous project by George Mandis

Install

Konami-JS in Action

Notable instances of Konami-JS in the wild include:
Backpack (Skyscanner's design system documentation) HuffPost Tesla (Archive.org) Newsweek Marvel (Archive.org) Almost half the sites in this Mashable article Smashing Magazine The History of Gaming Conventions ...and MANY more!
Submit a pull request if you would like to add your site to the list.

Watch & Listen


Forks

If you'd prefer to use a CoffeeScript version you can find one here:
https://github.com/camray/konami-coffee

If you are looking for GamePad support check out this fork:
https://github.com/TomBebbington/konami-js

Contributions

Your pull requests are welcome! Emphasis on small footprints, speed and broad device/browser compatability. Less interested in package manager and toolchain integrations.