UNPKG

zod-stream

Version:

A client for node or the browser to generate and consume streaming json

67 lines (66 loc) 1.66 kB
{ "name": "zod-stream", "version": "3.0.0", "description": "A client for node or the browser to generate and consume streaming json", "publishConfig": { "access": "public" }, "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", "exports": { ".": { "require": "./dist/index.cjs", "import": "./dist/index.js", "default": "./dist/index.js", "types": "./dist/index.d.ts" } }, "files": [ "dist/**" ], "typings": "./dist/index.d.ts", "scripts": { "test": "bun test --coverage --verbose", "build": "tsup", "dev": "tsup --watch", "lint": "TIMING=1 eslint src/**/*.ts* --fix", "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist", "type-check": "tsc --noEmit" }, "repository": { "directory": "public-packages/zod-stream", "type": "git", "url": "git+https://github.com/hack-dance/island-ai.git" }, "keywords": [ "llm", "structured output", "streaming", "react", "zod" ], "license": "MIT", "author": "Dimitri Kennedy <dimitri@sick.email> (https://hack.dance)", "homepage": "https://island.hack.dance", "dependencies": { "schema-stream": "^3.2.2", "zod-to-json-schema": "^3.23.1" }, "peerDependencies": { "openai": "4.47.1", "zod": "^3.23.3" }, "devDependencies": { "@repo/eslint-config": "workspace:*", "@repo/typescript-config": "workspace:*", "@turbo/gen": "^1.11.3", "@types/node": "^20.10.6", "@types/eslint": "^8.56.1", "eslint": "^8.53.0", "tsup": "^8.0.1", "typescript": "^5.3.3", "ramda": "^0.29.0", "zod": "^3.23.3" } }