UNPKG

llmatic

Version:

Use self-hosted LLMs with an OpenAI compatible API

107 lines (106 loc) 2.98 kB
{ "name": "llmatic", "version": "0.4.242", "description": "Use self-hosted LLMs with an OpenAI compatible API", "exports": { "./llm-adapter": { "types": "./dist/llm-adapter.d.ts", "import": "./dist/llm-adapter.js", "require": "./dist/llm-adapter.cjs" } }, "typesVersions": { "*": { "llm-adapter": [ "./dist/llm-adapter.d.ts" ] } }, "type": "module", "keywords": [ "openai", "api", "llm", "llama" ], "repository": "git@github.com:fardjad/node-llmatic.git", "license": "MIT", "author": "Fardjad Davari <public@fardjad.com>", "bin": { "llmatic": "./bin/llmatic", "llmatic.js": "./bin/llmatic.js" }, "files": [ "README.md", "dist/llm-adapter.cjs", "dist/llm-adapter.js", "dist/llm-adapter.d.ts", "bin/llmatic", "bin/llmatic.js", "api.oas.yml", "public/index.html", "src/", "!src/test-support", "!**/*.test.*" ], "scripts": { "fetch-openai-oas": "node ./scripts/fetch-openai-oas.mjs", "fix": "prettier --write . && eslint --ext .mjs --ext .ts --fix .", "lint": "eslint --ext .mjs --ext .ts .", "pretest": "tsc", "posttest": "npm run lint", "test:base": "tsx --test --test-reporter spec src/**/*.test.ts", "test": "npm run test:base", "test:watch": "nodemon -q -e js,cjs,mjs,ts,cts,mts,tsx,yml,json --exec \"npm run test:base\"", "prepare": "tsup src/llm-adapter.ts --format esm,cjs --dts --minify --clean --silent" }, "dependencies": { "@fastify/static": "^7.0.2", "@inquirer/prompts": "^4.3.1", "@inquirer/select": "^2.2.1", "@llama-node/llama-cpp": "^0.1.6", "@stoplight/json-ref-resolver": "^3.1.6", "ajv": "^8.12.0", "awilix": "^10.0.1", "commander": "^12.0.0", "fastify": "^4.26.2", "fastify-openapi-glue": "^4.5.0", "glob": "^10.3.12", "llama-node": "^0.1.6", "nodejs-file-downloader": "^4.12.1", "short-uuid": "^4.2.2", "swagger-ui-dist": "^5.13.0", "traverse": "^0.6.8", "tsx": "^4.7.1", "valid-filename": "^4.0.0" }, "devDependencies": { "@trivago/prettier-plugin-sort-imports": "^4.3.0", "@types/js-yaml": "^4.0.9", "@types/node": "^20.12.2", "@types/swagger-ui-dist": "^3.30.4", "@types/traverse": "^0.6.36", "@typescript-eslint/eslint-plugin": "^7.4.0", "@typescript-eslint/parser": "^7.4.0", "change-case": "^5.4.3", "earl": "^1.1.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-config-xo": "^0.44.0", "eslint-config-xo-typescript": "^4.0.0", "eslint-plugin-unicorn": "^51.0.1", "http-status-codes": "^2.3.0", "jsonpath-plus": "^8.1.0", "nodemon": "^3.1.0", "npm-check-updates": "^16.14.18", "prettier": "^3.2.5", "quicktype-core": "^23.0.115", "tsup": "^8.0.2", "typescript": "^5.4.3" }, "overrides": { "@trivago/prettier-plugin-sort-imports": { "prettier": ">=3" } } }