First upload version 0.0.1
This commit is contained in:
12
node_modules/@node-llama-cpp/win-x64-vulkan/dist/index.js
generated
vendored
Normal file
12
node_modules/@node-llama-cpp/win-x64-vulkan/dist/index.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import fs from "node:fs/promises";
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
const binsDir = path.join(__dirname, "..", "bins");
|
||||
const packageVersion = (JSON.parse(await fs.readFile(path.join(__dirname, "..", "package.json"), "utf8"))).version;
|
||||
export function getBinsDir() {
|
||||
return {
|
||||
binsDir,
|
||||
packageVersion
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user