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

    konami-codepublic

    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

    77

    version

    0.2.1

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar