{"bin":{"node-llama-cpp":"dist/cli/cli.js"},"bugs":{"url":"https://github.com/withcatai/node-llama-cpp/issues"},"dist":{"shasum":"e1fb81e24fcc1ef8d1f7086521e02cd48c44abaa","tarball":"https://registry.npmjs.org/node-llama-cpp/-/node-llama-cpp-3.0.0-beta.41.tgz","fileCount":727,"integrity":"sha512-RPcr/HLMk8Pu3RCAdsGB5MB/WnDqzGO2wHGoh45oaArMoLH5eOndJOMavRLOMZIuMtXC4uE+8G6sUhs/pUQhXg==","signatures":[{"sig":"MEUCIQDu1osFcJEQdz8fMwMUKnCwVHLZOf3MYoKhUJYvaGX1vgIgDgO2PdUHwl/82sgUGxkdyLYuXb6IPEoEnXHYvR57pDU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55545395},"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":"a2b2bc3d9f813762d53bcc811f8ceee2bc03bbf4","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 build --noUsageExample","dev:setup":"npm run build && node ./dist/cli/cli.js 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 --build tsconfig.json --dry --force","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 --entryPoints ./src/apiDocsIndex.ts && 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://withcatai.github.io/node-llama-cpp/","keywords":["llama","llama-cpp","llama.cpp","bindings","ai","cmake","cmake-js","prebuilt-binaries","llm","gguf","metal","cuda","vulkan","grammar","json-grammar","json-schema-grammar","functions","function-calling","embedding","temperature","minP","topK","topP","json-schema","raspberry-pi","self-hosted","local","catai"],"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.16.0","dependencies":{"ora":"^8.0.1","bytes":"^3.1.2","chalk":"^5.3.0","ipull":"^3.6.0","which":"^4.0.0","yargs":"^17.7.2","ignore":"^5.3.1","nanoid":"^5.0.7","semver":"^7.6.2","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.0.0","filenamify":"^6.0.0","simple-git":"^3.24.0","slice-ansi":"^7.1.0","strip-ansi":"^7.1.0","async-retry":"^1.3.3","cross-spawn":"^7.0.3","log-symbols":"^6.0.0","stdout-update":"^4.0.1","node-addon-api":"^8.0.0","lifecycle-utils":"^1.4.1","proper-lockfile":"^4.1.2","@huggingface/jinja":"^0.2.2","is-unicode-supported":"^2.0.0","validate-npm-package-name":"^5.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^8.1.2","husky":"^9.0.11","tslib":"^2.6.3","eslint":"^8.46.0","rimraf":"^5.0.7","vitest":"^1.6.0","typedoc":"^0.25.13","vite-node":"^1.6.0","vitepress":"^1.2.3","@vitest/ui":"^1.6.0","typescript":"^5.4.5","@types/node":"^20.14.2","@types/bytes":"^3.1.4","@types/which":"^3.0.4","@types/yargs":"^17.0.24","@types/semver":"^7.5.8","@commitlint/cli":"^19.3.0","@types/fs-extra":"^11.0.4","eslint-plugin-n":"^17.8.1","semantic-release":"^23.1.1","@types/async-retry":"^1.4.8","@types/cross-spawn":"^6.0.2","@vitest/coverage-v8":"^1.6.0","eslint-plugin-jsdoc":"^46.10.1","eslint-plugin-import":"^2.29.1","@semantic-release/exec":"^6.0.3","@types/proper-lockfile":"^4.1.4","typedoc-plugin-markdown":"^4.0.3","typedoc-vitepress-theme":"^1.0.0","typedoc-plugin-mdn-links":"^3.1.28","@typescript-eslint/parser":"^7.12.0","@shikijs/vitepress-twoslash":"^1.6.3","@commitlint/config-conventional":"^19.2.2","@types/validate-npm-package-name":"^4.0.2","@typescript-eslint/eslint-plugin":"^7.12.0"},"preferUnplugged":true,"peerDependencies":{"typescript":">=5.0.0"},"optionalDependencies":{"@node-llama-cpp/win-x64-cuda":"3.0.0-beta.41","@node-llama-cpp/linux-x64-cuda":"3.0.0-beta.41"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/node-llama-cpp_3.0.0-beta.41_1722632163812_0.26546271584026937","host":"s3://npm-registry-packages"},"_id":"node-llama-cpp@3.0.0-beta.41","version":"3.0.0-beta.41"}