konami-cb

1.0.2 • Public • Published

konami-cb

A lightweight script that will execute a callback function if a user types in the Konami Cheat code into the browser:

up, up, down, down, left, right, left, right, b, a

Install:

npm i konami-cb

Usage:

var konami = require('konami-cb');
 
konami(function() {
 
    //- make stuff happen
 
});

Readme

Keywords

none

Package Sidebar

Install

npm i konami-cb

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • matejsvajger