Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

konami-code

0.2.1 • Public • Published

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...
});

install

npm i konami-code

Downloadsweekly downloads

273

version

0.2.1

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar