🎉️ NEW: [Typesaurus X is out](https://blog.typesaurus.com/typesaurus-x-is-out/)!

# 🦕 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/)
