First upload version 0.0.1
This commit is contained in:
15
node_modules/node-llama-cpp/dist/bindings/utils/getPlatform.js
generated
vendored
Normal file
15
node_modules/node-llama-cpp/dist/bindings/utils/getPlatform.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import process from "process";
|
||||
export function getPlatform() {
|
||||
switch (process.platform) {
|
||||
case "win32":
|
||||
case "cygwin":
|
||||
return "win";
|
||||
case "linux":
|
||||
case "android":
|
||||
return "linux";
|
||||
case "darwin":
|
||||
return "mac";
|
||||
}
|
||||
return process.platform;
|
||||
}
|
||||
//# sourceMappingURL=getPlatform.js.map
|
||||
Reference in New Issue
Block a user