PGlite is a WASM Postgres build packaged into a TypeScript/JavaScript client library, that enables you to run Postgres in the browser, Node.js and Bun, with no need to install any other dependencies. It's under 3mb Gzipped.
There is discussion on a kysely-pglite dialect here and here.
According to the pglite docs:
There is discussion on a kysely-pglite dialect here and here.