# js-scroll-animator

> Allows you to animate HTML objects via scrolling. Powered by GSAP.

Latest version **1.1.1** (published 2022-03-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install js-scroll-animator
pnpm add js-scroll-animator
yarn add js-scroll-animator
bun add js-scroll-animator
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2022-03-11 |
| First published | 2022-03-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=12 |
| Dependencies | 0 |
| Unpacked size | 14.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | John Cedrick Bermejo |
| Maintainers | jcedb07 |

## Links

- npm: https://www.npmjs.com/package/js-scroll-animator
- npm.io page: https://npm.io/package/js-scroll-animator

## Recent versions

- 1.1.1 (latest) — 2022-03-11
- 1.0.0 — 2022-03-10

## README

# js-scroll-animator

Allows you to animate HTML objects via scrolling. Powered by GSAP.

## Installation

Use npm to install js-scroll-animator.

```
npm install js-scroll-animator --save
```

## Usage

```js
import { jsScrollAnimator } from 'js-scroll-animator';

jsScrollAnimator('.my-element', {
  scrub: 0.3,
  animate: {
    x: 250, // slide your element to right
  },
});
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)

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