README

Habitat

Habitat is a bunch of jumpyscript helpers that I use in my projects.

How to use it

Import from it.

<script type="module">
  import { print } from "./habitat.js";
  print("Hello world!");
</script>

If you want to embed it instead, just Ctrl+F and delete every export in the file. Then...

<script src="habitat.js"></script>
<script>
  print("Hello world!");
</script>

Last updated