{"bin":{"node-llama-cpp":"dist/cli/cli.js"},"bugs":{"url":"https://github.com/withcatai/node-llama-cpp/issues"},"dist":{"shasum":"0e68e6bcd5abe953da40a066f34d0d20fc563af9","tarball":"https://registry.npmjs.org/node-llama-cpp/-/node-llama-cpp-3.0.0-beta.20.tgz","fileCount":650,"integrity":"sha512-NICcjThpzOSorXvJe7ysmgx6W7MZSUKCUyU9aDy3ZxSxJkzqUgS320lpXXsJV9N+YI4GAPTrkoNY+rsWSab/BQ==","signatures":[{"sig":"MEQCIBvLS3QtpfiP8aXXSV9h/zaUFo9Py+f/klkS+2VTTjiUAiAMnyKuqID9dvt8U4udDlxVwglEah4Hy3p6vNmy9HGFRA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":124773274},"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":"d6a0f439ec63d706345a662e7dd65ec7e74471c0","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 install","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","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 && rimraf ./docs/api/index.md ./docs/api/globals.md ./docs/api/functions/LlamaText.md && npm run docs:generateTypedoc:overrides","test:standalone:interactive":"vitest watch ./test/standalone","docs:generateTypedoc:overrides":"typedoc --entryPoints ./src/apiDocsOverrides.ts --out ./docs/api-overrides && copyfiles --flat \"./docs/api-overrides/classes/LlamaText.md\" ./docs/api/classes && rimraf ./docs/api-overrides","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.7.0","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.13.1","dependencies":{"ora":"^7.0.1","bytes":"^3.1.2","chalk":"^5.3.0","ipull":"^3.1.1","which":"^4.0.0","yargs":"^17.7.2","ignore":"^5.3.1","nanoid":"^5.0.7","semver":"^7.6.0","chmodrp":"^1.0.2","env-var":"^7.3.1","octokit":"^3.1.0","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.19.1","slice-ansi":"^7.1.0","strip-ansi":"^7.1.0","async-retry":"^1.3.3","cross-spawn":"^7.0.3","log-symbols":"^5.1.0","stdout-update":"^4.0.1","node-addon-api":"^7.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":"^7.2.3","husky":"^8.0.3","tslib":"^2.6.1","eslint":"^8.46.0","rimraf":"^5.0.1","vitest":"^1.4.0","typedoc":"^0.25.13","copyfiles":"^2.4.1","vite-node":"^1.4.0","vitepress":"^1.1.4","@vitest/ui":"^1.4.0","typescript":"^5.2.2","@types/node":"^20.11.29","@types/bytes":"^3.1.4","@types/which":"^3.0.0","@types/yargs":"^17.0.24","@types/semver":"^7.5.8","@commitlint/cli":"^19.3.0","@types/fs-extra":"^11.0.4","eslint-plugin-n":"^16.3.1","semantic-release":"^23.1.1","@types/async-retry":"^1.4.8","@types/cross-spawn":"^6.0.2","@vitest/coverage-v8":"^1.4.0","eslint-plugin-jsdoc":"^46.9.0","eslint-plugin-import":"^2.28.0","@semantic-release/exec":"^6.0.3","@types/proper-lockfile":"^4.1.4","typedoc-plugin-markdown":"^4.0.0-next.55","typedoc-vitepress-theme":"1.0.0-next.10","typedoc-plugin-mdn-links":"^3.1.24","@typescript-eslint/parser":"^6.3.0","@shikijs/vitepress-twoslash":"^1.3.0","@commitlint/config-conventional":"^19.2.2","@types/validate-npm-package-name":"^4.0.2","@typescript-eslint/eslint-plugin":"^6.3.0"},"peerDependencies":{"typescript":">=5.0.0"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/node-llama-cpp_3.0.0-beta.20_1716077590700_0.49407428154200606","host":"s3://npm-registry-packages"},"_id":"node-llama-cpp@3.0.0-beta.20","version":"3.0.0-beta.20"}