Install

Relapse is a straightforward module that only asks for adherence to its markup structures. It’s not overly complex, so there’s no need to over-complicate things. The project is accessible through the NPM registry, allowing you to install the module in your project using your preferred package manager. Alternatively, you can add it via CDN for added convenience.

PNPM
$ pnpm add relapse

NPM
$ npm install relapse

YARN
$ yarn add relapse

CDN
https://unpkg.com/relapse

Browser Support

Relapse is designed to be utilized in modern browsers and is exported as an ESM ECMAScript Module. The underlying architecture leverages the Web Animations API (WAAPI) and at of the time of writing this documentation, Relapse has 95% global browser support.


Legacy Support

For developers working with older browsers that do not support ES6 or lack compatibility with the Web Animations API, Relapse recommends the use of a Polyfill. This additional script ensures compatibility and allows the module to function in legacy environments.