https://github.com/lukethacoder/konami-ts
super simple library for hiding sneaky easter eggs within your websites using typescript
https://github.com/lukethacoder/konami-ts
Last synced: 3 months ago
JSON representation
super simple library for hiding sneaky easter eggs within your websites using typescript
- Host: GitHub
- URL: https://github.com/lukethacoder/konami-ts
- Owner: lukethacoder
- License: mit
- Created: 2019-07-31T13:33:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-17T19:13:59.000Z (about 4 years ago)
- Last Synced: 2025-03-15T05:08:04.091Z (4 months ago)
- Language: TypeScript
- Homepage: https://npmjs.com/package/konami-ts
- Size: 27.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```typescript
import Konami from 'konami-ts';const options = {
secret_code: '495051',
delay: 500,
};let yourSuperSecretFunction = new KonamiCode(options);
yourSuperSecretFunction.listen(() => {
console.log('shhh, secrets');
});
```