A typed, browser-ready and vite-compatible library to query and create reviews with Mangrove.reviews Used in https://mapcomplete.org
Find a file
Pieter Vander Vennet 8ab9a0a71e Fix link
2024-12-31 21:17:00 +01:00
example Fix #1 2024-12-31 20:22:28 +01:00
lib Fix #1 2024-12-31 20:22:28 +01:00
.gitignore Finetuning types, applying patches to make it useable 2023-01-21 21:28:22 +01:00
LICENSE Initial commit 2023-01-20 13:47:42 +01:00
package-lock.json Fix packaging issues 2023-01-22 01:06:27 +01:00
package.json Fix link 2024-12-31 21:17:00 +01:00
README.md Finetuning types, applying patches to make it useable 2023-01-21 21:28:22 +01:00
tsconfig.json Formatting, use SignJWT instead of EncryptJWT 2023-01-21 22:09:48 +01:00

Mangrove-reviews-typescript

This is a port of mangrove-reviews, but which uses jose instead of jsonwebtoken. The latter has a dependency which uses Stream, which vite cannot handle.

Another benefit is that this one has better typing* and should thus be more ergonomic to use.

(*): typing is incomplete and only includes the very basic usecase of downloading and uploading reviews - the bare minimum of what I needed for MapComplete. However, I'll gladly merge pull requests which add more types.