{"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":"b1a8fb0d978e47fdf8b4033b866875747e22a23d","tarball":"https://registry.npmjs.org/node-llama-cpp/-/node-llama-cpp-3.12.1.tgz","fileCount":860,"integrity":"sha512-FtePBM5OpLGCPjEqcMrlyGjxL6L2L1z7oUi88Mh1wB8v+HOjpGk3PS+txXuGWy0vZw/fARQYwDM5pMLAvg8peg==","signatures":[{"sig":"MEQCIAESR1Y19Pp+iNWt9sc+XygrvuganFksXIsPYb5+eFtJAiBG5xwevByqAbZxYY+FybdhhRegaDknTAgXzBDx5OPKQg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27679790},"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":">=20.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":"f849cd9d83a3444c6e5b910e7f68388ba34687f4","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":"node --experimental-require-module -e \"process.env.CI !== 'true' && console.log(require('husky').default())\"","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","qwen","qwq","gpt","gpt-oss","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.19.4","dependencies":{"ora":"^8.2.0","bytes":"^3.1.2","chalk":"^5.4.1","ipull":"^3.9.2","which":"^5.0.0","yargs":"^17.7.2","ignore":"^7.0.4","nanoid":"^5.1.5","semver":"^7.7.1","chmodrp":"^1.0.2","env-var":"^7.5.0","octokit":"^4.1.3","cmake-js":"^7.3.1","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.1","lifecycle-utils":"^3.0.1","proper-lockfile":"^4.1.2","@huggingface/jinja":"^0.5.1","is-unicode-supported":"^2.1.0","validate-npm-package-name":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^8.5.4","feed":"^5.0.0","husky":"^9.1.7","sharp":"^0.34.1","tslib":"^2.8.1","eslint":"^9.26.0","rehype":"^13.0.2","rimraf":"^6.0.1","vitest":"^3.2.4","typedoc":"^0.28.4","electron":"^37.2.4","vite-node":"^3.2.4","vitepress":"^1.6.3","@vitest/ui":"^3.2.4","typescript":"^5.8.3","@types/node":"^20.17.50","@types/bytes":"^3.1.5","@types/which":"^3.0.4","@types/yargs":"^17.0.33","@types/semver":"^7.7.0","@eslint/compat":"^1.2.9","@commitlint/cli":"^19.8.1","@resvg/resvg-js":"^2.6.2","@types/fs-extra":"^11.0.4","eslint-plugin-n":"^17.18.0","semantic-release":"^24.2.3","@fontsource/inter":"^5.2.5","typescript-eslint":"^8.32.0","@types/async-retry":"^1.4.9","@types/cross-spawn":"^6.0.6","@vitest/coverage-v8":"^3.2.4","eslint-plugin-jsdoc":"^50.6.14","eslint-plugin-import":"^2.31.0","@semantic-release/npm":"12.0.1","vitepress-plugin-llms":"^1.7.2","@semantic-release/exec":"^7.1.0","@types/proper-lockfile":"^4.1.4","typedoc-plugin-markdown":"^4.6.3","typedoc-vitepress-theme":"^1.1.2","@semantic-release/github":"11.0.2","@stylistic/eslint-plugin":"^4.2.0","typedoc-plugin-mdn-links":"^5.0.2","@shikijs/vitepress-twoslash":"^3.4.0","@commitlint/config-conventional":"^19.8.1","@types/validate-npm-package-name":"^4.0.2","eslint-import-resolver-typescript":"^4.3.4","@nolebase/vitepress-plugin-og-image":"^2.17.0","@nolebase/vitepress-plugin-git-changelog":"^2.17.0"},"preferUnplugged":true,"peerDependencies":{"typescript":">=5.0.0"},"optionalDependencies":{"@node-llama-cpp/mac-x64":"3.12.1","@node-llama-cpp/win-x64":"3.12.1","@node-llama-cpp/linux-x64":"3.12.1","@node-llama-cpp/win-arm64":"3.12.1","@node-llama-cpp/linux-arm64":"3.12.1","@node-llama-cpp/linux-armv7l":"3.12.1","@node-llama-cpp/win-x64-cuda":"3.12.1","@node-llama-cpp/linux-x64-cuda":"3.12.1","@node-llama-cpp/win-x64-vulkan":"3.12.1","@node-llama-cpp/mac-arm64-metal":"3.12.1","@node-llama-cpp/linux-x64-vulkan":"3.12.1"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/node-llama-cpp_3.12.1_1754937522227_0.8159033828890143","host":"s3://npm-registry-packages-npm-production"},"_id":"node-llama-cpp@3.12.1","version":"3.12.1"}