vue-konami

The indispensable directive for VueJS
12,586 13
Install
npm install vue-konami
Latest Version:2.0.0
Vue:3
License:MIT
Last Updated:Dec 17, 2025
Links: GitHub  ·  npm
Maintainer: cadgerfeast

vue-konami

Quality Gate Status Coverage Version Downloads License


Vue Konami Icon

The indispensable directive for VueJS

Documentation

Full documentation website can be found here.

If targeting Vue2, please read Legacy docs

Installation

npm install vue-konami --save

Usage

Simple

<div v-konami="easterEgg"></div>

<script setup>
  const easterEgg = () => {
    alert('easterEgg');
  };
</script>

Advanced

<div v-konami="easterEgg"></div>

<script setup>
  const easterEgg = {
    timeout: 500,
    chain: ['A', 'Z', 'E', 'R', 'T', 'Y'],
    callback: () => {
      alert('easterEgg');
    }
  };
</script>

Contributors

cadgerfeast
cadgerfeast
Aterbonus
Aterbonus

License

MIT

Related Packages

@konami-emoji-blast/nuxt

Hooks up konami-code-js to trigger emoji-blast in Nuxt. 🎇

1,169 337
vue

The progressive JavaScript framework for building modern web UI.

468,054,189 54,906
vue
eslint-plugin-vue

Official ESLint plugin for Vue.js

266,364,830 4,591
@vueuse/shared
260,835,866 22,398
@vitejs/plugin-vue

The official plugin for Vue SFC support in Vite.

257,315,514 686

Version History

Version Released Vue License
2.0.0 ^3.3.2 MIT
1.2.0 MIT
1.1.0 MIT
1.0.11 MIT
1.0.10 MIT