{"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":"1b563ded63bdb6bcd56157fb301048bce77fbf30","tarball":"https://registry.npmjs.org/node-llama-cpp/-/node-llama-cpp-3.0.0-beta.46.tgz","fileCount":721,"integrity":"sha512-bix8AJ9Vv5//og594LPmy9QbHxR2T87yBbauOz4jkxLdT6KGALMV6jvirAgRdqsIA3tjfTcZF7okN3mz4rsrGg==","signatures":[{"sig":"MEUCIHIfFNR2SsrIkQMmss97LNAWTxK7PKfCCcm8pyPngjlZAiEApygbDw8n2c/UTl77BmjcVImYvKvehOL6jF2MOK/lLj8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20147001},"main":"./dist/index.js","name":"node-llama-cpp","type":"module","types":"./dist/index.d.ts","author":{"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":"6c644ffcf4f33416accb6e086c842b713f231e41","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","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 --ext .js --ext .ts --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","json-grammar","json-schema-grammar","functions","function-calling","embedding","temperature","minP","topK","topP","seed","json-schema","raspberry-pi","self-hosted","local","catai","mistral","typescript","lora","batching","gpu"],"repository":{"url":"git+https://github.com/withcatai/node-llama-cpp.git","type":"git"},"_npmVersion":"10.8.1","description":"Run AI models locally on your machine with node.js bindings for llama.cpp. Force a JSON schema on the model output on the generation level","directories":{},"maintainers":[{"name":"giladgd","email":"giladgd@gmail.com"}],"_nodeVersion":"20.17.0","dependencies":{"ora":"^8.1.0","bytes":"^3.1.2","chalk":"^5.3.0","ipull":"^3.6.2","which":"^4.0.0","yargs":"^17.7.2","ignore":"^5.3.2","nanoid":"^5.0.7","semver":"^7.6.3","chmodrp":"^1.0.2","env-var":"^7.5.0","octokit":"^4.0.2","cmake-js":"^7.3.0","fs-extra":"^11.2.0","cross-env":"^7.0.3","pretty-ms":"^9.1.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.3","log-symbols":"^7.0.0","stdout-update":"^4.0.1","node-addon-api":"^8.1.0","lifecycle-utils":"^1.7.0","proper-lockfile":"^4.1.2","@huggingface/jinja":"^0.3.1","is-unicode-supported":"^2.1.0","validate-npm-package-name":"^5.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^8.1.8","feed":"^4.2.2","husky":"^9.1.6","sharp":"^0.33.5","tslib":"^2.7.0","eslint":"^8.46.0","rehype":"^13.0.1","rimraf":"^6.0.1","vitest":"^2.1.1","typedoc":"^0.26.7","vite-node":"^2.1.1","vitepress":"1.3.4","@vitest/ui":"^2.1.1","typescript":"^5.6.2","@types/node":"^22.5.5","@types/bytes":"^3.1.4","@types/which":"^3.0.4","@types/yargs":"^17.0.33","@types/semver":"^7.5.8","@commitlint/cli":"^19.5.0","@resvg/resvg-js":"^2.6.2","@types/fs-extra":"^11.0.4","eslint-plugin-n":"^17.10.2","semantic-release":"24.1.1","@fontsource/inter":"^5.1.0","@types/async-retry":"^1.4.8","@types/cross-spawn":"^6.0.2","@vitest/coverage-v8":"^2.1.1","eslint-plugin-jsdoc":"^50.2.3","eslint-plugin-import":"^2.30.0","@semantic-release/npm":"12.0.1","@semantic-release/exec":"^6.0.3","@types/proper-lockfile":"^4.1.4","typedoc-plugin-markdown":"^4.2.7","typedoc-vitepress-theme":"^1.0.1","typedoc-plugin-mdn-links":"^3.3.0","@typescript-eslint/parser":"^7.15.0","@shikijs/vitepress-twoslash":"^1.18.0","@commitlint/config-conventional":"^19.5.0","@types/validate-npm-package-name":"^4.0.2","@typescript-eslint/eslint-plugin":"^7.15.0","@nolebase/vitepress-plugin-og-image":"^2.5.0","@nolebase/vitepress-plugin-git-changelog":"^2.5.0"},"preferUnplugged":true,"peerDependencies":{"typescript":">=5.0.0"},"optionalDependencies":{"@node-llama-cpp/mac-x64":"3.0.0-beta.46","@node-llama-cpp/win-x64":"3.0.0-beta.46","@node-llama-cpp/linux-x64":"3.0.0-beta.46","@node-llama-cpp/win-arm64":"3.0.0-beta.46","@node-llama-cpp/linux-arm64":"3.0.0-beta.46","@node-llama-cpp/linux-armv7l":"3.0.0-beta.46","@node-llama-cpp/win-x64-cuda":"3.0.0-beta.46","@node-llama-cpp/linux-x64-cuda":"3.0.0-beta.46","@node-llama-cpp/win-x64-vulkan":"3.0.0-beta.46","@node-llama-cpp/mac-arm64-metal":"3.0.0-beta.46","@node-llama-cpp/linux-x64-vulkan":"3.0.0-beta.46"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/node-llama-cpp_3.0.0-beta.46_1726848960103_0.3183412931245022","host":"s3://npm-registry-packages"},"_id":"node-llama-cpp@3.0.0-beta.46","version":"3.0.0-beta.46"}