PGlite is a WASM Postgres build packaged into a TypeScript client library that enables you to run Postgres in the browser, Node.js, Bun and Deno, with no need to install any other dependencies. It is only 3mb gzipped and has support for many Postgres extensions, including pgvector.
Read more about PGlite here: http://pglite.dev
GitHub: http://github.com/electric-sql/pglite
https://samwillis-pglite.web.val.run
https://esm.town/v/samwillis/pglite
<script type="module" src="https://esm.town/v/samwillis/pglite"></script>