weapp-sqlite
A local data layer for mini-app projects
Integrate SQLite WASM through weapp-vite for unified asynchronous queries, transactions, migrations, and local persistence. Web and WeChat DevTools pass automated acceptance; WeChat devices await verification. Listed here as Beta.
Maintained by: weapp-sqlite contributors
Install
ForMini-app teams evaluating structured local data, offline storage, and database migrations in weapp-vite projects.
pnpm add @weapp-sqlite/weapp-viteRegister weappSqlite() in your Vite config, then import openSqlite from @weapp-sqlite/weapp-vite/runtime. Web and WeChat DevTools pass automated acceptance; WeChat devices await verification.
ENGINEERING PROOF
SQLite local data boundary
Start with a real config, command, or boundary note when deciding if this project fits your codebase.
- Unified asynchronous queries, transactions, and migrations
- IndexedDB persistence on Web and file-system persistence on WeChat
- Automated acceptance passes on Web and real WeChat DevTools; WeChat devices await verification
ROADMAP
What gets confirmed next
- Complete automated acceptance on Web and WeChat DevToolsShipped
- Complete acceptance on WeChat iOS and Android devicesPlanned
Core capabilities
- Unified asynchronous queries, transactions, and migrations
- IndexedDB on Web and file-system persistence on WeChat
- weapp-vite plugin and runtime integration
Common use cases
- 01Integrate local SQLite into a weapp-vite project
- 02Query structured data and manage transactions and migrations
- 03Verify persistence on Web and WeChat DevTools
Platforms
Related projects
- Current version
- v0.3.0
- Oct 3, 2026
- Weekly downloads
- 21
- GitHub Stars
- 2
Frequently asked questions
Which environments have been verified?
Web and real WeChat DevTools pass automated acceptance. WeChat iOS and Android devices await verification, so this site lists the project as Beta. Other mini-app platforms currently provide build output and an unsupported contract, which does not imply official runtime support.
Which package should I install?
For weapp-vite projects, install @weapp-sqlite/weapp-vite, register weappSqlite(), then import openSqlite from its runtime entry. Follow the official documentation for configuration and platform boundaries.
Future documentation path
/docs/weapp-sqlite/
This path will become canonical when aggregated documentation launches.
Implementation scope
Compatibility assessment required
This project can inform a technical selection discussion. Implementation services for this tool are not confirmed. Review the official documentation, maintainer support, and repository first; no official partnership or support commitment is implied.