A simple script for adding the Konami Code easter egg to your site. Configurable to add your own patterns and callback functions in the case of match.
1 Download and Install easter-eggs
- yarn: yarn add easter-eggs
- NPM: npm install easter-eggs
- github: https://github.com/ajsoriar/easter-eggs
2 Include dependences
2.1 easter-eggs.js or easter-eggs.min.js are under dist folder.
2.2 Include easter-eggs.js or easter-eggs.min.js, e.g.
3 Use it
easter-eggs.js is MIT licensed.