Skip to main content

@electric-sql/pglite

v0.5.11SAFE Risk

PGlite is a WASM Postgres build packaged into a TypeScript client library that enables you to run Postgres in the browser, Node.js and Bun, with no need to install any other dependencies. It is only 3.7mb gzipped.

A+100/100
Install Command
npm install @electric-sql/pglite
orpnpm add @electric-sql/pglite
Typosquat Defense
Authentic Name

No similarity to known typosquatting targets.

Lifecycle Scripts
Clean Execution

Zero preinstall or postinstall arbitrary execution hooks.

License Type
Apache-2.0

Permissive open-source license. Safe for enterprise & proprietary software.

Package Specifications

Unpacked Size
24.42 MB
Dependencies
0
Maintainers
4
Last Published
Oct 21, 2026
Free VS Code Extension

Detect Supply Chain Attacks Directly in Your Editor

Get instant CodeLens risk scores, typosquatting warnings, and license audits right inside your package.json file with zero configuration.

Install Dependency Risk Lens

Frequently Asked Questions

Is @electric-sql/pglite safe to use in production?
@electric-sql/pglite received a Security Grade of A+ (100/100) with a risk evaluation of SAFE. It contains zero malicious postinstall scripts.
What license does @electric-sql/pglite use?
@electric-sql/pglite is licensed under the Apache-2.0 license (PERMISSIVE). This is a permissive open-source license suitable for commercial applications.
How do I install @electric-sql/pglite?
Install it via NPM using: npm install @electric-sql/pglite, or via PNPM: pnpm add @electric-sql/pglite, or Yarn: yarn add @electric-sql/pglite.