# svelte-snow

> #### Properties

Latest version **1.0.1** (published 2023-01-04) · 0 weekly downloads

## Install

```sh
npm install svelte-snow
pnpm add svelte-snow
yarn add svelte-snow
bun add svelte-snow
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2023-01-04 |
| First published | 2023-01-04 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 0 |
| Unpacked size | 5.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | unfield |

## Links

- npm: https://www.npmjs.com/package/svelte-snow
- npm.io page: https://npm.io/package/svelte-snow

## Recent versions

- 1.0.1 (latest) — 2023-01-04
- 1.0.0 — 2023-01-04

## README

# Svelte Snow

#### Properties

| Parameter      | Type            | Description                                                                            |
| :------------- | :-------------- | :------------------------------------------------------------------------------------- |
| `active`       | `boolean`       | **Optional**. Enables/Disables the rendering of snowflakes                             |
| `activeMonths` | `Array<Number>` | **Optional**. Enables/Disables the rendering of snowflakes based on the specific month |

`activeMonths` only applies if active is set to `true`

`activeMonths={[ 1 ]} = January and so on.`

## Usage/Examples

#### Always Snowing

```javascript
<script>
    import SvelteSnow from "svelte-snow";
</script>

<SvelteSnow>
    <!-- your content goes here -->
</SvelteSnow>
```

#### Snow Disabled

```javascript
<script>
    import SvelteSnow from "svelte-snow";
</script>

<SvelteSnow active={false}>
    <!-- your content goes here -->
</SvelteSnow>
```

#### Snowing from December till February

```javascript
<script>
    import SvelteSnow from "svelte-snow";
</script>

<SvelteSnow activeMonths={[ 1, 2, 12 ]}>
    <!-- your content goes here -->
</SvelteSnow>
```

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