0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-05-16 08:32:37 +00:00
Files
libsql/libsql-sqlite3/ext/crr/nodejs-helper.js

8 lines
283 B
JavaScript
Raw Normal View History

2023-03-30 08:41:27 -04:00
// 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");