1.1.2 • Published 6 years ago

konami-ts v1.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

konami-ts

super simple library for hiding sneaky easter eggs within your websites using typescript

Install

npm i konami-ts -s or yarn add konami-ts -s

Usage Example

import Konami from 'konami-ts';

const options = {
  secret_code: '495051',
  delay: 500,
};

let yourSuperSecretFunction = new KonamiCode(options);

yourSuperSecretFunction.listen(() => {
  console.log('shhh, secrets');
});