Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 353 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 353 Bytes

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*