{"bin":{"nlc":"dist/cli/cli.js","node-llama-cpp":"dist/cli/cli.js"},"bugs":{"url":"https://github.com/withcatai/node-llama-cpp/issues"},"dist":{"shasum":"f6038918295c4ff411ad7f69dcc3c333393784cf","tarball":"https://registry.npmjs.org/node-llama-cpp/-/node-llama-cpp-3.6.0.tgz","fileCount":821,"integrity":"sha512-SzjsZLuG2pQPPkgMniTgK4sCcslA6ion5L55L8qeGnIb0cAhzVDbJ0Lxl5NhuTMm8KkxVZXF2yTihyulPMSLhw==","signatures":[{"sig":"MEUCIHXl4r37hn7D8qNgLZEcC1Ie4jXxOkQqxU3fnWeSQbpgAiEAkUjGD27nwdmFvLu9z+PEvnqFeBYofEovqio+w9TiVXQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22478949},"main":"./dist/index.js","name":"node-llama-cpp","type":"module","types":"./dist/index.d.ts","author":{"url":"https://github.com/giladgd","name":"Gilad S."},"engines":{"node":">=18.0.0"},"exports":{".":{"node":"./dist/index.js","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./commands":{"node":"./dist/commands.js","types":"./dist/commands.d.ts","import":"./dist/commands.js","default":"./dist/commands.js"},"./commands.js":{"node":"./dist/commands.js","types":"./dist/commands.d.ts","import":"./dist/commands.js","default":"./dist/commands.js"}},"funding":{"url":"https://github.com/sponsors/giladgd","type":"github"},"gitHead":"599a1616f76ca53168bbf534e3bdcabb5180b34c","license":"MIT","scripts":{"lint":"npm run lint:eslint","test":"npm run test:typescript && npm run lint:eslint && npm run test:vitest","build":"tsc --build tsconfig.json --force && npm run build:packTemplates","clean":"rm -rf ./node_modules ./dist ./tsconfig.tsbuildinfo ./test/.models ./docs/api ./docs/api-overrides ./templates/packed","watch":"tsc --build tsconfig.json --watch --force","format":"npm run lint:eslint -- --fix","prepare":"[ \"$CI\" = true ] || [ -d '.husky/_' ] || husky","docs:dev":"npm run docs:generateTypedoc && vitepress dev --cors","prebuild":"rimraf ./dist ./tsconfig.tsbuildinfo","prewatch":"rimraf ./dist ./tsconfig.tsbuildinfo","dev:build":"npm run build && node ./dist/cli/cli.js source build --noUsageExample","dev:setup":"npm run build && node ./dist/cli/cli.js source download --noUsageExample && npm run docs:generateTypedoc && npm run dev:setup:downloadAllTestModels","docs:build":"npm run docs:generateTypedoc && vitepress build","lint:eslint":"eslint --report-unused-disable-directives .","postinstall":"node ./dist/cli/cli.js postinstall","postversion":"vite-node scripts/postVersion.ts","test:vitest":"vitest run ./test","docs:preview":"npm run docs:generateTypedoc && vitepress preview","cmake-js-llama":"cd llama && cmake-js","test:standalone":"vitest run ./test/standalone","test:typescript":"tsc --noEmit --project tsconfig.json","build:packTemplates":"vite-node scripts/packTemplates.ts","test:modelDependent":"vitest run ./test/modelDependent","addPostinstallScript":"npm pkg set scripts.postinstall=\"node ./dist/cli/cli.js postinstall\"","docs:generateTypedoc":"typedoc && rimraf ./docs/api/index.md ./docs/api/globals.md ./docs/api/functions/LlamaText.md","test:standalone:interactive":"vitest watch ./test/standalone","dev:setup:downloadAllTestModels":"vite-node test/utils/scripts/downloadAllTestModels.ts","test:modelDependent:interactive":"vitest watch ./test/modelDependent"},"_npmUser":{"name":"giladgd","email":"giladgd@gmail.com"},"homepage":"https://node-llama-cpp.withcat.ai","keywords":["llama","llama-cpp","llama.cpp","bindings","ai","cmake","cmake-js","prebuilt-binaries","llm","gguf","metal","cuda","vulkan","grammar","embedding","rerank","reranking","json-grammar","json-schema-grammar","functions","function-calling","token-prediction","speculative-decoding","temperature","minP","topK","topP","seed","json-schema","raspberry-pi","self-hosted","local","catai","mistral","deepseek","typescript","lora","batching","gpu"],"repository":{"url":"git+https://github.com/withcatai/node-llama-cpp.git","type":"git"},"_npmVersion":"10.9.2","description":"Run AI models locally on your machine with node.js bindings for llama.cpp. Enforce a JSON schema on the model output on the generation level","directories":{},"maintainers":[{"name":"giladgd","email":"giladgd@gmail.com"}],"_nodeVersion":"20.18.2","dependencies":{"ora":"^8.1.1","bytes":"^3.1.2","chalk":"^5.4.1","ipull":"^3.9.2","which":"^5.0.0","yargs":"^17.7.2","ignore":"^7.0.0","nanoid":"^5.0.9","semver":"^7.7.0","chmodrp":"^1.0.2","env-var":"^7.5.0","octokit":"^4.1.0","cmake-js":"^7.3.0","fs-extra":"^11.3.0","cross-env":"^7.0.3","pretty-ms":"^9.2.0","filenamify":"^6.0.0","simple-git":"^3.27.0","slice-ansi":"^7.1.0","strip-ansi":"^7.1.0","async-retry":"^1.3.3","cross-spawn":"^7.0.6","log-symbols":"^7.0.0","stdout-update":"^4.0.1","node-addon-api":"^8.3.0","lifecycle-utils":"^2.0.0","proper-lockfile":"^4.1.2","@huggingface/jinja":"^0.3.3","is-unicode-supported":"^2.1.0","validate-npm-package-name":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^8.3.1","feed":"^4.2.2","husky":"^9.1.7","sharp":"^0.33.5","tslib":"^2.8.1","eslint":"^9.19.0","rehype":"^13.0.2","rimraf":"^6.0.1","vitest":"^3.0.4","typedoc":"^0.27.6","electron":"^34.0.2","vite-node":"^3.0.4","vitepress":"^1.6.3","@vitest/ui":"^3.0.4","typescript":"^5.7.3","@types/node":"^22.12.0","@types/bytes":"^3.1.5","@types/which":"^3.0.4","@types/yargs":"^17.0.33","@types/semver":"^7.5.8","@eslint/compat":"^1.2.5","@commitlint/cli":"^19.6.1","@resvg/resvg-js":"^2.6.2","@types/fs-extra":"^11.0.4","eslint-plugin-n":"^17.15.1","semantic-release":"^24.2.1","@fontsource/inter":"^5.1.1","typescript-eslint":"^8.22.0","@types/async-retry":"^1.4.9","@types/cross-spawn":"^6.0.6","@vitest/coverage-v8":"^3.0.4","eslint-plugin-jsdoc":"^50.6.3","eslint-plugin-import":"^2.31.0","@semantic-release/npm":"12.0.1","@semantic-release/exec":"^6.0.3","@types/proper-lockfile":"^4.1.4","typedoc-plugin-markdown":"^4.4.1","typedoc-vitepress-theme":"^1.1.2","@semantic-release/github":"11.0.1","@stylistic/eslint-plugin":"^3.0.1","typedoc-plugin-mdn-links":"^4.0.10","@shikijs/vitepress-twoslash":"^2.2.0","@commitlint/config-conventional":"^19.6.0","@types/validate-npm-package-name":"^4.0.2","eslint-import-resolver-typescript":"^3.7.0","@nolebase/vitepress-plugin-og-image":"^2.12.1","@nolebase/vitepress-plugin-git-changelog":"^2.12.1"},"preferUnplugged":true,"peerDependencies":{"typescript":">=5.0.0"},"optionalDependencies":{"@node-llama-cpp/mac-x64":"3.6.0","@node-llama-cpp/win-x64":"3.6.0","@node-llama-cpp/linux-x64":"3.6.0","@node-llama-cpp/win-arm64":"3.6.0","@node-llama-cpp/linux-arm64":"3.6.0","@node-llama-cpp/linux-armv7l":"3.6.0","@node-llama-cpp/win-x64-cuda":"3.6.0","@node-llama-cpp/linux-x64-cuda":"3.6.0","@node-llama-cpp/win-x64-vulkan":"3.6.0","@node-llama-cpp/mac-arm64-metal":"3.6.0","@node-llama-cpp/linux-x64-vulkan":"3.6.0"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/node-llama-cpp_3.6.0_1740164399745_0.6000892717192892","host":"s3://npm-registry-packages-npm-production"},"_id":"node-llama-cpp@3.6.0","version":"3.6.0"}