Skip to content
PluginStats

sqlocal weekly downloads statistics

By DallasHoff · npm · Vite plugins

SQLocal makes it easy to run SQLite3 in the browser, backed by the origin private file system.

View on npm Fresh · Oct 17, 2026

sqlocal has 4,512 recorded weekly downloads on npm, a decrease of 25.9% over the past 30 days.

It ranks #1116 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -19.4%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
4,512
Official API · Oct 17, 2026
7-day growth
-48.4%
-4.2K weekly downloads
30-day growth
-25.9%
-1.6K weekly downloads
90-day growth
-19.4%
-1.1K weekly downloads
Rank
#1116
Among tracked npm listings

About sqlocal

SQLocal

SQLocal makes it easy to run SQLite3 in the browser, backed by the origin private file system. It wraps the WebAssembly build of SQLite3 and gives you a simple interface to interact with databases running on device.

Documentation - GitHub - NPM - Fund

Features

• 🔎 Locally executes any query that SQLite3 supports • 🧵 Runs the SQLite engine in a web worker so queries do not block the main thread • 📂 Persists data to the origin private file system, which is optimized for fast file I/O • 🚀 Simple API; just name your database and start running SQL queries • ⚡️ Subscribe to query results and receive changes, even across tabs • 🔒 Each user can have their own private database instance • 🛠️ Works with Kysely and Drizzle ORM for making type-safe queries • 🤝 Get set up quickly with hooks for UI frameworks and a Vite plugin

Examples

Log:

Or, you can use SQLocal as a driver for Kysely or Drizzle ORM to make fully-typed queries.

Kysely

See the Kysely documentation for getting started.

Drizzle

See the Drizzle ORM documentation for declaring your schema and making queries.

Install

Install the SQLocal package in your application using your package manager.

Cross-Origin Isolation

In order to persist data to the origin private file system, this package relies on APIs that require cross-origin isolation, so the page you use this package on must be served with the following HTTP headers. Otherwise, the browser will block access to the origin private file system.

How this is configured will depend on what web server or hosting service your application uses. If your development server uses Vite, see the configuration below.

Vite Configuration

Vite needs some additional configuration to handle web worker files correctly. If you or your framework uses Vite as your build tool, you can use SQLocal's Vite plugin to set this up.

The plugin will also enable cross-origin isolation (required for origin private file system persistence) for the Vite development server by default. Just don't forget to also configure your _production_ web server to use the same HTTP headers.

Import the plugin from sqlocal/vite and add it to your Vite configuration.

Description from the npm listing.

  • browser
  • sqlite
  • sql
  • database
  • wasm
  • opfs
  • worker
  • vite-plugin
  • drizzle
  • kysely

Where sqlocal sits in the listing

Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All npm2,248 listings · 113 pages · page 56, #16 (overall #1116)
All npm: every listing in weekly downloads order
PNG SVG
Vite plugins250 listings · 13 pages · page 11, #9 (overall #209)
Vite plugins: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

sqlocal weekly downloads on npm, last 90 days: 4,512 weekly downloads as of Oct 17, 2026, -19.4% over 90 days.sqlocalWeekly downloads on npm · Last 90 days4,512downloads / week-19.4% over 90 days3K4K5K6K7K8K9K10KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
sqlocal weekly downloads on npm, last 90 days: 4,512 weekly downloads as of Oct 17, 2026, -19.4% over 90 days.
PNG SVG

7/30/90-day growth

sqlocal weekly downloads growth on npm: -48.4% over 7 days, -25.9% over 30 days, -19.4% over 90 days.sqlocalWeekly downloads growth on npm4,512downloads / week now7-day growth-4,224 weekly downloads-48.4%30-day growth-1,576 weekly downloads-25.9%90-day growth-1,084 weekly downloads-19.4%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
sqlocal weekly downloads growth on npm: -48.4% over 7 days, -25.9% over 30 days, -19.4% over 90 days.
PNG SVG

Ranking history

sqlocal npm ranking history: currently #1116 (by weekly downloads).sqlocalnpm ranking · by weekly downloads · Last 90 days#1116current rank#1114#1115#1116#1117#1118Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
sqlocal npm ranking history: currently #1116 (by weekly downloads).
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (121)
Recent weekly downloads observations for sqlocal
Date (UTC)Weekly downloadsChange vs. previous
4,512-1.2K
5,738-480
6,218-1.9K
8,076-1.8K
9,8790
9,879+506
9,373+637
8,736+544
8,192+435
7,757+24
7,733-199
7,932-1.5K
9,442-165
9,607—

Similar npm Vite plugins plugins

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/sqlocal. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.