motiondivision/motionone ? reverse-engineered prompt

Reverse engineered prompt

Build me a small animation library for the web that feels simple to use but still powerful.

I want it to let me animate DOM elements with a clean API, including basic properties like opacity, position, scale, and rotation, plus support for easing, springs, and timeline style keyframes. It should work well in the browser, use modern TypeScript, and be split into a few reusable packages so the core animation logic, DOM helpers, easing functions, generators, and shared utilities are separated cleanly.

Please make it easy to use from regular apps, with a main entry point that gives me the most common animation methods, and lower level modules for people who want more control. If anything about current browser animation APIs or compatibility matters, look up the latest docs online and follow best practices.

I’d also like the project to be set up like a real open source library, with a clear README, good types, and a structure that would be easy to publish and maintain.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab