Sunday, February 19, 2023

SQLite + TypeScript + WASM?


sqlite - npm search


node-sqlite3-wasm - npm

node-sqlite3-wasm is a port of SQLite3 to WebAssembly for Node.js with file system access. node-sqlite3-wasm brings SQLite3 to your Node.js environment without recompiling on every target platform. This is especially useful for Electron applications.

974 kB

sql.js uses emscripten to compile SQLite to webassembly (or to javascript code for compatibility with older browsers).


sqlite3 - npm 

Written in modern C++ and tested for memory leaks
Bundles SQLite v3.40.0, or you can build using a local SQLite


3.24 MB

sqlite - npm :

A wrapper library written in Typescript with ZERO dependencies that adds ES6 promises and SQL-based migrations API to sqlite3 (docs).


"The fastest and simplest library for SQLite3 in Node.js."

9.48 MB
A batteries-included, multi-dialect (PostgreSQL, MySQL, CockroachDB, MSSQL, SQLite3, Oracle) query builder for Node.js

easy-to-use and promise-based Node.js ORM tool for Postgres, MySQL, MariaDB, SQLite, DB2, Microsoft SQL Server, and Snowflake. It features solid transaction support, relations, eager and lazy loading, read replication and more.

2.88 MB

TypeORM supports both Active Record and Data Mapper patterns
TypeORM is highly influenced by other ORMs, such as Hibernate, Doctrine and Entity Framework.


19.6 MB


Prisma is a next-generation ORM that consists of these tools:
This can be a REST API, a GraphQL API a gRPC API, or anything else that needs a database.

24.4 MB