First upload version 0.0.1

This commit is contained in:
Neyra
2026-02-05 15:27:49 +08:00
commit 8e9b7201ed
4182 changed files with 593136 additions and 0 deletions

12
node_modules/node-llama-cpp/dist/utils/includesText.js generated vendored Normal file
View File

@@ -0,0 +1,12 @@
export function includesText(value, textToCheckFor, strictCase = false) {
if (value instanceof Array)
return value.some((v) => includesText(v, textToCheckFor, strictCase));
else if (typeof value !== "string")
return false;
if (textToCheckFor instanceof Array)
return textToCheckFor.some((t) => includesText(value, t, strictCase));
if (strictCase)
return value.includes(textToCheckFor);
return value.toLowerCase().includes(textToCheckFor.toLowerCase());
}
//# sourceMappingURL=includesText.js.map