Skip to content
Do clever things with this :)
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.gitignore
.npmignore
KonamiCode.js
LICENSE
README.md
package.json

README.md

KonamiCode

Listen and handle the input: up, up, down, down, left, right, left, right, b, a. Game on!

Installation

npm install konami-code --save-dev

Usage

var KonamiCode = require( "konami-code" );
var konami = new KonamiCode();

konami.listen(function () {
    // Do cool stuff here...
});
You can’t perform that action at this time.