js-confetti
Advanced tools
Comparing version 0.0.10 to 0.0.11
{ | ||
"name": "js-confetti", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"license": "MIT", | ||
@@ -19,2 +19,3 @@ "description": "js-confetti", | ||
"build": "NODE_ENV=production webpack --config webpack.config.ts", | ||
"build-example": "NODE_ENV=production webpack --config webpack.config.example.ts", | ||
"lint": "eslint src --ext .ts" | ||
@@ -21,0 +22,0 @@ }, |
# js-confetti | ||
[![npm version](https://badge.fury.io/js/js-confetti.svg)](https://badge.fury.io/js/js-confetti) | ||
![NPM Downloads](https://img.shields.io/npm/dw/js-confetti) | ||
🎉 JS Confetti library with zero dependencies | ||
Demo: https://loonywizard.github.io/js-confetti/ | ||
NPM: https://www.npmjs.com/package/js-confetti | ||
## Usage | ||
Install library via yarn or npm | ||
```sh | ||
yarn add js-confetti | ||
``` | ||
Initialize instance of JSConfetti class and call addConfetti method | ||
```js | ||
@@ -6,0 +23,0 @@ import JSConfetti from 'js-confetti' |
6756
33