konami-ts
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

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');
});

Package Sidebar

Install

npm i konami-ts

Weekly Downloads

5

Version

1.1.2

License

MIT

Unpacked Size

5.54 kB

Total Files

7

Last publish

Collaborators

  • lukethecoder