mirror of
https://github.com/juliandickie/anime.git
synced 2026-08-24 17:47:40 +00:00
JavaScript animation engine
https://animejs.com
- JavaScript 83.1%
- HTML 16.4%
- CSS 0.5%
| .github | ||
| assets | ||
| dist | ||
| examples | ||
| src | ||
| tests | ||
| .gitignore | ||
| CONTRIBUTING.md | ||
| LICENSE.md | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| rollup.config.js | ||
| tsconfig.json | ||
| tsconfig.types.json | ||
Anime.js
Anime.js is a fast, multipurpose and lightweight JavaScript animation library with a simple, yet powerful API.
It works with CSS properties, SVG, DOM attributes and JavaScript Objects.
Sponsors
Anime.js is 100% free and is only made possible with the help of our sponsors. Help the project become sustainable by sponsoring us on GitHub Sponsors.
Platinum sponsors
|
|
|
Silver sponsors
|
|
|
|
|
|
Get featured here by becoming a GitHub Sponsor.
Usage
Anime.js V4 works by importing ES modules like so:
|
|
V4 Documentation
The full documentation is available here.
V3 Migration guide
You can find the v3 to v4 migration guide here.
NPM development scripts
First, run npm i to install all the necessary packages.
Then, execute the following scripts with npm run <script>.
| script | action |
|---|---|
dev |
Watches for changes in src/**/*.js, bundles the ESM version to lib/ and creates type declarations in types/ |
dev:test |
Runs dev and test:browser concurrently |
build |
Bundles ESM / UMD / CJS / IIFE versions to lib/ and creates type declarations in types/ |
test:browser |
Starts a local server and runs all browser-related tests |
test:node |
Starts Node-related tests |
open:examples |
Starts a local server to browse the examples locally |