# PGlite

Embeddable WebAssembly build of PostgreSQL, packaged as a TypeScript and JavaScript library for the browser, Node.js, Bun and Deno.


Source: https://findsoftware.frbit.cloud/pglite/
Last reviewed: 2026-10-30
Listed since: 2026-10-30

## Record

### Links

- home: https://pglite.dev
- repository: https://github.com/electric-sql/pglite
- docs: https://pglite.dev/docs/
- plugins: https://pglite.dev/extensions/
- discord: https://discord.electric-sql.com

### Identity

- status: active
- maintainer: Electric DB Inc.
- maintainerType: company
- parent: unknown
- firstRelease: 2024
- hqCountry: unknown

### Kind

- category: database
- hosting: node, bun, deno
- language: javascript
- runtime: node, bun, deno
- runtimeMin: unknown
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: postgres
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: browser, local
- renderingModes: not applicable
- installMethod: npm

### License

- licenseModel: open-source
- license: Apache-2.0, PostgreSQL

### Releases

- currentMajor: 0
- latestReleaseDate: 2026-10-28

### Adoption

- githubStargazers: 16215
- packagistDownloads: not applicable
- npmWeeklyDownloads: 18499456
- contributors: 86
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://pglite.dev/ (read 2026-10-30)
- urls: https://api.github.com/repos/electric-sql/pglite (read 2026-10-30)
- urls: https://pglite.dev/docs/about (read 2026-10-30)
- maintainer: https://www.electric.ax/legal (read 2026-10-30)
- maintainerType: https://www.electric.ax/legal (read 2026-10-30)
- language: https://api.github.com/repos/electric-sql/pglite (read 2026-10-30)
- runtime: https://pglite.dev/docs/ (read 2026-10-30)
- runsAs: https://pglite.dev/docs/about (read 2026-10-30)
- runsAs: https://pglite.dev/docs/about (read 2026-10-30)
- currentMajor: https://registry.npmjs.org/@electric-sql/pglite (read 2026-10-30)
- latestReleaseDate: https://registry.npmjs.org/@electric-sql/pglite (read 2026-10-30)
- firstRelease: https://registry.npmjs.org/@electric-sql/pglite (read 2026-10-30)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-10-19:2026-10-25/@electric-sql/pglite (read 2026-10-30)
- license: https://registry.npmjs.org/@electric-sql/pglite/latest (read 2026-10-30)
- license: https://pglite.dev/ (read 2026-10-30)
- licenseModel: https://pglite.dev/docs/about (read 2026-10-30)
- category: https://pglite.dev/ (read 2026-10-30)
- databases: https://pglite.dev/ (read 2026-10-30)
- urls: https://pglite.dev/docs/about (read 2026-10-30)
- installMethod: https://pglite.dev/docs/ (read 2026-10-30)
- installMethod: https://pglite.dev/docs/ (read 2026-10-30)
- installMethod: https://pglite.dev/docs/ (read 2026-10-30)
- installMethod: https://pglite.dev/docs/ (read 2026-10-30)
- installMethod: https://pglite.dev/docs/ (read 2026-10-30)
- installMethod: https://pglite.dev/docs/ (read 2026-10-30)
- githubStargazers: https://api.github.com/repos/electric-sql/pglite (read 2026-10-30)
- contributors: https://api.github.com/repos/electric-sql/pglite/contributors?per_page=1 (read 2026-10-30)

## Notes

PGlite is a WebAssembly build of PostgreSQL, packaged as a TypeScript and JavaScript library. An application imports it from npm, or from a CDN in the browser, and runs a Postgres database inside the browser, Node.js, Bun or Deno. The data can live in memory, in the file system under Node and Bun, or in IndexedDB in the browser. The about page also offers it as an alternative to a full local Postgres for development.

## Worth knowing

Electric DB Inc., which develops PGlite, also runs a hosted cloud for its sync services. That cloud is a separate product from PGlite.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
