Habitat

Habitat is a collection of JavaScript helpers that I use in my hobby projects.
A list of its functions is in the documentation.

How to use it

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!")

How to build it

If you want to help develop Habitat, you can build it with Frogasaurus.