May 2022

Nîmes

Ship anime.js animations with 0 bytes of Javascript

Nîmes is a command-line tool to turn anime.js animations from a javascript file into a CSS file, containing the appropriate ruleset to implement the same animation without any trace of javascript.

Obviously, anime.js features that are inherently javascript-dependent can’t be implemented. Most of these limitations come from the fact that no DOM is available while generating the stylesheet.

Source code & documentation
github.com
On NPM
npmjs.com

made with