mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 16:56:27 +02:00
19 lines
353 B
TypeScript
19 lines
353 B
TypeScript
import { readFileSync } from "node:fs";
|
|
import { dirname, join } from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
|
|
const PROJECT = "sqlite-vec";
|
|
|
|
const VERSION = readFileSync(
|
|
join(dirname(fileURLToPath(import.meta.url)), "..", "VERSION"),
|
|
"utf8",
|
|
);
|
|
|
|
export default {
|
|
load() {
|
|
return {
|
|
PROJECT,
|
|
VERSION,
|
|
};
|
|
},
|
|
};
|