@konami-emoji-blast/astro
TypeScript icon, indicating that this package has built-in type declarations

0.0.1Β β€’Β PublicΒ β€’Β Published

@konami-emoji-blast/astro

Hooks up konami-code-js to trigger emoji-blast in Astro. πŸš€

🀝 Code of Conduct: Kept πŸ“ License: MIT πŸ“¦ npm version πŸ’ͺ TypeScript: Strict

⬆ ⬆ ⬇ ⬇ β¬… ➑ β¬… ➑ πŸ…± πŸ…°

Usage

First install the @konami-emoji-blast/astro and konami-emoji-blast packages as dependencies:

npm i @konami-emoji-blast/astro konami-emoji-blast

Then, apply this integration to your astro.config.* file using the integrations property:

import { konamiEmojiBlast } from "@konami-emoji-blast/astro";
import { defineConfig } from "astro/config";

export default defineConfig({
	// ...
	integrations: [konamiEmojiBlast()],
});

Then, pressing the Konami Code on your Astro site should trigger fireworks blasts of emoji on the page. Yay! πŸŽ†

Development

@konami-emoji-blast/astro is managed as part of the emoji-blast monorepo. See the monorepo's development docs first, then ./.github/DEVELOPMENT.md.

πŸ’™ This package was templated with create-typescript-app.

Package Sidebar

Install

npm i @konami-emoji-blast/astro

Weekly Downloads

490

Version

0.0.1

License

MIT

Unpacked Size

78.7 kB

Total Files

11

Last publish

Collaborators

  • joshuakgoldberg