UNPKG

@us-legal-tools/courtlistener-sdk

Version:

TypeScript SDK and MCP server for CourtListener API

89 lines (88 loc) 2.41 kB
{ "name": "@us-legal-tools/courtlistener-sdk", "version": "1.5.2", "description": "TypeScript SDK and MCP server for CourtListener API", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "type": "module", "scripts": { "dev": "bun run src/index.ts", "build": "bun run build.ts", "generate": "NODE_OPTIONS='--max-old-space-size=4096' bun run --bun $(which orval)", "format": "biome format --write .", "lint": "biome lint --write .", "check": "biome check --write .", "check:ci": "biome ci .", "prepublishOnly": "bun run build", "test": "bun test src", "test:watch": "bun test --watch src", "test:integration": "SKIP_INTEGRATION_TESTS=false bun test src", "test:all": "bun test", "mcp:server": "bun run src/mcp/server.ts", "download": "echo 'No download script defined, use `bun run generate` to generate the SDK from the API specification.'" }, "files": [ "dist", "README.md", "LICENSE" ], "dependencies": { "@modelcontextprotocol/sdk": "^1.17.1", "axios": "^1.11.0", "zod": "^3.24.1" }, "devDependencies": { "@biomejs/biome": "2.1.3", "@types/bun": "latest", "@types/node": "^24.2.0", "@us-legal-tools/orval-config": "workspace:*", "@us-legal-tools/tsconfig": "workspace:*", "orval": "^7.11.2", "typedoc-plugin-markdown": "^4.8.0", "typescript": "^5.8.3" }, "peerDependencies": { "typescript": "^5.0.0" }, "keywords": [ "courtlistener", "legal", "api", "sdk", "mcp", "typescript", "case-law", "judges", "courts" ], "homepage": "https://github.com/beshkenadze/us-legal-tools#readme", "repository": { "type": "git", "url": "git+https://github.com/beshkenadze/us-legal-tools.git", "directory": "packages/courtlistener-sdk" }, "bugs": { "url": "https://github.com/beshkenadze/us-legal-tools/issues" }, "author": "Aleksandr Beshkenadze <beshkenadze@gmail.com>", "license": "MIT", "engines": { "node": ">=22.0.0" }, "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" }, "./mcp": { "types": "./dist/mcp/index.d.ts", "import": "./dist/mcp/index.mjs", "require": "./dist/mcp/index.js" } }, "publishConfig": { "access": "public" } }