Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including animejs with all npm packages installed. Try it out:

var animejs = require("animejs")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

animejs v3.2.0

JavaScript animation engine


JavaScript animation engine |

npm version npm downloads

Anime.js (/ˈæn.ə.meɪ/) is a lightweight JavaScript animation library with a simple, yet powerful API.
It works with CSS properties, SVG, DOM attributes and JavaScript Objects.

Getting started | Documentation | Demos and examples | Browser support

Getting started


Via npm

$ npm install animejs --save

or manual download.


ES6 modules

import anime from 'animejs/lib/';


const anime = require('animejs');

File include

Link anime.min.js in your HTML :

<script src="anime.min.js"></script>

Hello world

  targets: 'div',
  translateX: 250,
  rotate: '1turn',
  backgroundColor: '#FFF',
  duration: 800


Demos and examples

Browser support

ChromeSafariIE / EdgeFirefoxOpera


Website | Documentation | Demos and examples | MIT License | © 2019 Julian Garnier.


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free