Repository
Current version released
4 years ago
Versions
- v2.0.0Latest
- v1.4.0
- v1.2.4
- v1.2.1
- v1.2.0
- v1.1.0
- v1.0.1
- v1.0.0
- v0.9.0
- v0.8.9
- v0.8.8
- v0.8.7
- v0.8.6
- v0.8.5
- v0.8.4
- v0.8.3
- v0.8.2
- v0.8.1
- v0.8.0
- v0.7.1
- v0.7.0
- v0.6.6
- v0.6.5
- v0.6.4
- v0.6.3
- v0.6.2
- v0.6.1
- v0.6.0
- v0.5.0
- v0.4.2
- v0.4.1
- v0.4.0
- v0.3.10
- v0.3.9
- v0.3.8
- v0.3.7
- v0.3.6
- v0.3.5
- v0.3.4
- v0.3.3
- v0.3.2
- v0.3.1
- v0.3.0
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.10
- v0.1.9
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.0
- v0.0.22
- v0.0.21
- v0.0.20
- v0.0.19
- v0.0.18
- v0.0.17
- v0.0.16
- v0.0.15
- v0.0.14
- v0.0.13
- v0.0.12
- v0.0.11
- v0.0.10
- v0.0.9
- v0.0.8
- v0.0.7
- v0.0.6
- v0.0.5a
- v0.0.5b
- v0.0.5
- v0.0.4
- v0.0.3
- v0.0.2
- v0.0.1
Habitat
Habitat is a collection of JavaScript tools and libraries that I have built up for my personal use. The full documentation for it is here: l2wilson94.gitbook.io/habitat
How to use it
You can embed it, like this:
<script src="habitat-embed.js"></script>
Or import it like this:
import Habitat from "./habitat-import.js"
How to install it
Before you use it, you need to run the install
function (which takes your global object as an argument):
Habitat.install(window)
Alternatively, you can choose to install specific parts of the library. This just installs the console features:
Habitat.Console.install(window)
Or, you can import specific global functions:
import {print} from "./habitat-import.js"
There are more examples of how to use Habitat in the examples
folder.