@vlcn.io/crsqlite-allinone
TypeScript icon, indicating that this package has built-in type declarations

0.15.2 • Public • Published

@vlcn.io/crsqlite-allinone

A package for node & deno that provides a sqlite3 library in addition to the crsqlite extension. It also exposes the same interface to node/deno that is exposed to the browser via the @vlcn.io/crsqlite-wasm package, allowing you to share abstractions between the client and server.

If you are already using a sqlite3 package (e.g., better-sqlite3) you can use @vlcn.io/crsqlite and load it as shared a module via .loadModule.

Example:

import SQLiteDB from "better-sqlite3";
import { extensionPath } from "@vlcn.io/crsqlite";

const db = new SQLiteDB(dbPath);
db.loadExtension(extensionPath);

/@vlcn.io/crsqlite-allinone/

    Package Sidebar

    Install

    npm i @vlcn.io/crsqlite-allinone

    Homepage

    vlcn.io

    Weekly Downloads

    1

    Version

    0.15.2

    License

    MIT

    Unpacked Size

    21.2 kB

    Total Files

    11

    Last publish

    Collaborators

    • tantaman