



Lightweight WASM Postgres build packaged into a TypeScript client library that enables running PostgreSQL in the browser, Node.js, Bun, and Deno with pgvector support. At only 3MB gzipped, it provides full Postgres functionality including vector search capabilities without requiring separate database installation.
Loading more......
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. Unlike previous "Postgres in the browser" projects, PGLite does not use a Linux virtual machine - it is simply Postgres in WASM.
Building upon PostgreSQL's "single user mode," PGLite introduces an input/output pathway that enables interaction with PostgreSQL when compiled to WASM within a JavaScript environment. Programs compiled with Emscripten cannot fork new processes and operate strictly in single-process mode.
Free and open-source under the Apache 2.0 license.