0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-12-15 10:59:47 +00:00
libsql/libsql-sqlite3/ext/crr/nodejs-helper.js
2023-10-16 13:58:16 +02:00

8 lines
283 B
JavaScript

// Exports the path to the extension for those using
// crsqlite in a Node.js environment.
import * as url from "url";
import { join } from "path";
const __dirname = url.fileURLToPath(new URL(".", import.meta.url));
export const extensionPath = join(__dirname, "dist", "crsqlite");