UNPKG

@typesaurus/preact

Version:

Preact Hooks for Typesaurus, type-safe Firestore ODM

27 lines (15 loc) • 960 B
šŸŽ‰ļø 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/)