@jackhua/mini-langchain
Version:
A lightweight TypeScript implementation of LangChain with cost optimization features
69 lines (68 loc) • 1.86 kB
JSON
{
"name": "@jackhua/mini-langchain",
"version": "0.2.1",
"description": "A lightweight TypeScript implementation of LangChain with cost optimization features",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**/*",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"clean": "rm -rf dist",
"prepublishOnly": "npm run clean && npm run build",
"dev": "ts-node-dev --respawn --transpile-only src/index.ts",
"test": "jest",
"test:features": "ts-node tests/test-features.ts",
"example:basic": "ts-node examples/basic.ts",
"example:chains": "ts-node examples/advanced-chains.ts",
"example:router": "ts-node examples/router-optimizer.ts",
"example:agent": "ts-node examples/agent-example.ts",
"lint": "eslint src/**/*.ts",
"format": "prettier --write \"src/**/*.ts\""
},
"keywords": [
"langchain",
"llm",
"ai",
"openai",
"gemini",
"chains",
"agents",
"tools",
"react-agent",
"prompt-optimization",
"cost-optimization",
"typescript"
],
"author": "Khoa Hua",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/anhkhoavanhua/mini-langchain.git"
},
"bugs": {
"url": "https://github.com/anhkhoavanhua/mini-langchain/issues"
},
"homepage": "https://github.com/anhkhoavanhua/mini-langchain#readme",
"dependencies": {
"axios": "^1.6.0",
"dotenv": "^16.3.1",
"uuid": "^9.0.1"
},
"devDependencies": {
"@types/jest": "^29.5.10",
"@types/node": "^20.10.0",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.13.0",
"@typescript-eslint/parser": "^6.13.0",
"eslint": "^8.54.0",
"jest": "^29.7.0",
"prettier": "^3.1.0",
"ts-jest": "^29.1.1",
"ts-node-dev": "^2.0.0",
"typescript": "^5.3.0"
}
}