from kitten
Over time, the global namespace has become polluted with around 19 references.
Gather these, along with the special page section target identifiers for the `` tag, under the `kitten` namespace:
Related: #129
# kitten:
## (General)
- `domain`: domain that place is running on
- `port`: port that place is running on
- `projectIdentifier`: unique project identifier of the place
## (Place’s database)
- `db`: database of the place
- `databaseDirectory`: path to database of place
## (Tagged templates)
- `html`
- `css`
- `js`
- `markdown`
## (HTML helper functions)
- `safelyAddHtml`
- `sanitise`
## (Natively-supported third-party library identifiers as well as common case errors to simplify authoring; latter not shown)
- `libraries`
- `htmx`
- `htmxWebSocket`
- `alpineJs`
- `water`
## (Special page areas; targets of `` tags)
- `page`
- `html`
- `head`
- `startOfBody`
- `beforeLibraries`
- `afterLibraries`
- `endOfBody`
## (Class and object references)
- `events`: global EventEmitter instance.
- `WebSocket`: Class.
- `Session`: Class.
Following this change, the only remaining global will be the `kitten` namespace itself.
Instead of using the global namespace, you can also still import and use the type safe [@small-web/kitten](https://codeberg.org/kitten/globals) package instead.