UNPKG

llm-exe

Version:

Simplify building LLM-powered apps with easy-to-use base components, supporting text and chat-based prompts with handlebars template engine, output parsers, and flexible function calling capabilities.

100 lines (99 loc) 3.95 kB
{ "name": "llm-exe", "version": "2.3.1", "description": "Simplify building LLM-powered apps with easy-to-use base components, supporting text and chat-based prompts with handlebars template engine, output parsers, and flexible function calling capabilities.", "keywords": [ "ai", "llm", "openai", "anthropic", "bedrock", "llama", "gpt-3.5-turbo", "gpt-4", "claude", "grok", "gemini", "chain", "prompt", "agent" ], "source": "./src/index.ts", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "require": "./dist/index.js", "import": "./dist/index.mjs" } }, "files": [ "dist" ], "engines": { "node": ">=18" }, "scripts": { "typecheck": "tsc --noEmit", "test": "NODE_OPTIONS=--experimental-vm-modules jest --config jest.config.ts --detectOpenHandles --coverage --forceExit", "test-examples": "eval $(cat .env) NODE_OPTIONS=--experimental-vm-modules jest --config jest.config.examples.ts --detectOpenHandles --coverage --forceExit", "test-one": "eval $(cat .env) NODE_OPTIONS=--experimental-vm-modules jest --detectOpenHandles --coverage --forceExit --config jest.config.examples.ts examples/intentBot.test.ts", "run-one": "eval $(cat .env) ts-node ./examples/chains/self-refinement/usage.ts", "build": "(concurrently \"tsc --p ./tsconfig.json -w\" \"tsc-alias -p tsconfig.json -w\")", "build:ci": "tsup src/index.ts --format cjs,esm --dts --clean", "build:browser": "tsup src/script.ts --format iife --platform browser --target es6 --sourcemap --clean --external '**'", "build:package": "tsup src/index.ts --format cjs,esm --dts --clean --external jsonschema,json-schema-to-ts,exponential-backoff,@aws-sdk/credential-providers,@aws-crypto/sha256-js,@smithy/protocol-http,@smithy/signature-v4", "build:docs-examples": "./node_modules/.bin/esbuild examples/prompt/index.ts examples/state/index.ts --bundle --outdir=docs/.vitepress/components/examples --platform=node --target=es6 --format=esm", "build:watch:docs-examples": "./node_modules/.bin/esbuild examples/prompt/index.ts examples/state/index.ts --watch --bundle --outdir=docs/.vitepress/components/examples --platform=node --target=es6 --format=esm", "predocs:build": "npm run build:docs-examples", "docs:dev": "eval $(cat docs/.env) && concurrently \"vitepress dev docs\" \"npm run build:watch:docs-examples\"", "docs:build": "eval $(cat docs/.env) && vitepress build docs", "lint": "eslint .", "format:check": "prettier --check \"src\"", "format:write": "prettier --write \"src\"", "publish-main": "npm publish", "publish-beta": "npm publish --tag beta" }, "author": "Greg Reindel", "license": "MIT", "dependencies": { "@aws-crypto/sha256-js": "5.2.0", "@aws-sdk/credential-providers": "3.806.0", "@smithy/signature-v4": "5.1.0", "exponential-backoff": "3.1.2", "handlebars": "4.7.8", "json-schema-to-ts": "3.1.1", "jsonschema": "1.5.0", "uuid": "10.0.0" }, "devDependencies": { "@tsconfig/recommended": "1.0.8", "@types/jest": "^29.5.14", "@types/node": "^18.0.0", "@types/prettier": "2.6.0", "@types/uuid": "10.0.0", "@typescript-eslint/eslint-plugin": "^8.32.0", "@typescript-eslint/parser": "^8.32.0", "concurrently": "^8.2.2", "esbuild": "0.25.4", "eslint": "^9.26.0", "eslint-config-prettier": "^8.10.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-prettier": "^4.2.1", "jest": "29.7.0", "prettier": "3.5.3", "ts-jest": "29.3.2", "ts-node": "^10.9.2", "tsc-alias": "^1.8.16", "tsconfig-paths": "4.2.0", "tsup": "^8.4.0", "typescript": "5.8.3", "vitepress": "^1.6.3" }, "repository": { "type": "git", "url": "https://github.com/gregreindel/llm-exe" }, "homepage": "https://llm-exe.com" }