konami-touch

0.0.3 • Public • Published

konami-touch

Watches for the konami code (↑ ↑ ↓ ↓ ← → ← → TAP TAP TAP) to be input as swipe gestures then fires a callback

Installation

npm install konami-touch

Usage

var KonamiTouch = require('konami-touch');

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

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i konami-touch

    Weekly Downloads

    44

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • mauricebutler