Watches for the konami code via touch or keyboard then fires a callback.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
LICENSE
README.md
index.js
package.json

README.md

#konami-js

Watches for the konami code then fires a callback.

####On the keyboard ↑ ↑ ↓ ↓ ← → ← → B A ENTER

####As touch input ↑ ↑ ↓ ↓ ← → ← → TAP TAP TAP

##Installation

npm install konami-js

##Usage

var Konami = require('konami-js');

new Konami(function(){
    alert('KONAMI!');
});