> [!WARNING]
> Typesaurus is retired as of Sep 28, 2026. Read more [here](https://koss.nocorp.me/projects/typesaurus).

# 🦕 Typesaurus Preact

Preact Hooks for [Typesaurus](https://github.com/kossnocorp/typesaurus), type-safe Firestore ODM.

→ [Read docs](https://typesaurus.com/integrations/preact/)

## Installation

The library is available as an [npm package](https://www.npmjs.com/package/@typesaurus/preact).
To install Typesaurus, run:

```sh
npm install --save @typesaurus/preact typesaurus firebase firebase-admin
```

_Note that Typesaurus Preact has Typesaurus listed as a peer dependency, which also requires the `firebase` package to work in the web environment and `firebase-admin` to work in Node.js. These packages aren't listed as dependencies, so they won't install automatically with the Typesaurus package. Also, you'll need `preact` installed._

## Changelog

See [the changelog](./CHANGELOG.md).

## License

[MIT © Sasha Koss](https://kossnocorp.mit-license.org/)
