Installation

Stim.js ships as a single file with no dependencies. Just require it in a <script> tag and you’re good to go!

Download

You can download the latest stable version from the GitHub releases page.

Or, you can download the latest bleeding edge build from GitHub actions. Find the latest successful build, and download it from the “Artifacts” section.

Also, the package is available on npm if that’s your kind of thing: stim.js.

Setup

Simply require the script on your page:

<script src="stim.js" async defer></script>

Stim.js does not require any dependencies and will execute on DOMContentLoaded.

It is recommended to use async and defer so the script does not delay page loading or rendering in any way.