Miss any of our Open RFC calls?Watch the recordings here! »

konami-js

0.0.2 • Public • Published

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

Install

npm i konami-js

DownloadsWeekly Downloads

422

Version

0.0.2

License

MIT

Last publish

Collaborators

  • avatar