Skip to content

kznjunk/konami

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

konami code

This should work in this way:

const konami = require('@kznjunk/konami')(showSecret)

function showSecret () {
  console.log('yay!')
}

You can cancel if needed:

if (konami) konami.dispatch()

Combinations are:

↑ ↑ ↓ ↓ ← → ← → B A

or

↑ ↑ ↓ ↓ ← → ← → *screen click* *screen click*

Releases

No releases published

Packages

No packages published