Skip to content

MauriceButler/konami-js

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

#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!');
});

About

Watches for the konami code via touch or keyboard then fires a callback.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published