# nuxt-unified-confetti

> This library integrates the well made [canvas-confetti](https://github.com/catdad/canvas-confetti) library into your application as a layer, this enables seamless usage of Nuxt's auto import features as well as ease of further addition of things like mous

Latest version **0.1.1** (published 2024-10-20) · 0 weekly downloads

## Install

```sh
npm install nuxt-unified-confetti
pnpm add nuxt-unified-confetti
yarn add nuxt-unified-confetti
bun add nuxt-unified-confetti
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2024-10-20 |
| First published | 2024-10-17 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Maintainers | yooneskh |

## Links

- npm: https://www.npmjs.com/package/nuxt-unified-confetti
- npm.io page: https://npm.io/package/nuxt-unified-confetti

## Dependencies (2)

- [canvas-confetti](https://npm.io/package/canvas-confetti.md) 1.9.3
- [@types/canvas-confetti](https://npm.io/package/@types/canvas-confetti.md) 1.6.4

## Recent versions

- 0.1.1 (latest) — 2024-10-20
- 0.1.0 — 2024-10-17

## README

# Nuxt Unified Confetti
This library integrates the well made [canvas-confetti](https://github.com/catdad/canvas-confetti) library into your application as a layer, this enables seamless usage of Nuxt's auto import features as well as ease of further addition of things like mouse tracking and components.

# Installation
Install the package and extend your app with the layer.

```bash
npm i nuxt-unified-confetti
# or
bun i nuxt-unified-confetti
yarn add nuxt-unified-confetti
```

Then

```ts
// nuxt.config.ts

export default defineNuxtConfig({
  extends: [
    'nuxt-unified-confetti',
  ],
});
```

And you will be able to use these functions

```ts
confettiOnPageSides(duration);
confettiOnCenter(duration);
confettiOnBottom(duration);
confettiOnTop(duration);

confettiCustomParade(duration, config);
```

Or use this function and directly use the canvas-confetti

```ts
confettiCustom(config);
```

---
_Source: https://npm.io/package/nuxt-unified-confetti · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
