Habitat is a collection of JavaScript helpers that I use in my hobby projects.
A list of its functions is in the documentation.
You can embed it, like this:
<script src="habitat-embed.js"></script>
<script>
const { print } = Habitat
print("Hello world!")
</script>
Or import it like this:
import { print } from "./habitat-import.js"
print("Hello world!")
If you want to help develop Habitat, you can build it with Frogasaurus.