# wsm-animations

> This module adds animation properties to all blocks on web apps built with `Webstudio`

Latest version **0.0.2** (published 2023-03-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install wsm-animations
pnpm add wsm-animations
yarn add wsm-animations
bun add wsm-animations
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2023-03-14 |
| First published | 2023-03-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 44.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Webstudio |
| Maintainers | gianksp |

## Links

- npm: https://www.npmjs.com/package/wsm-animations
- Repository: https://github.com/webstudioso/wsm-animations
- Homepage: https://github.com/webstudioso/wsm-animations#readme
- Issues: https://github.com/webstudioso/wsm-animations/issues
- npm.io page: https://npm.io/package/wsm-animations

## Recent versions

- 0.0.2 (latest) — 2023-03-14
- 0.0.1 — 2023-03-14

## README

# Webstudio Animations Module

This module adds animation properties to all blocks on web apps built with `Webstudio`

 ![Webstudio Module Animations](https://github.com/webstudioso/wsm-animations/actions/workflows/production.yml/badge.svg)

### Testing and Building Module
```
npm i
npm run test
npm run build
```

### Publish to NPMJS
```
npm publish
```

### Importing Dependency in Webstudio
Add it to the project, this is compatible with `grapesjs` as well.
```shell
npm i --save wsm-animations@latest
```
To import in the editor add the file and include it as a Plugin and also include the animate.css library as part of the canvas style imports
```js
import PluginAnimations from "wsm-animations"

const editor = grapesjs.init({
    container: "#gjs",
    plugins: [
        PluginAnimations
    ],
    canvas: {
        styles: [
          "https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
        ]
    }
})
```

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