chatgpt-dto
Version:
A lightweight wrapper for OpenAI's GPT API with DTO support via class-validator and class-transformer. Designed for structured JSON output in TypeScript backends.
61 lines (60 loc) • 1.3 kB
JSON
{
"name": "chatgpt-dto",
"version": "0.1.0",
"description": "A lightweight wrapper for OpenAI's GPT API with DTO support via class-validator and class-transformer. Designed for structured JSON output in TypeScript backends.",
"main": "output/index.js",
"types": "output/index.d.ts",
"type": "module",
"scripts": {
"build": "tsc"
},
"publishConfig": {
"access": "public"
},
"author": "unbywyd",
"engines": {
"node": ">=18.19.0"
},
"keywords": [
"DTO",
"OpenAI",
"GPT",
"chatgpt",
"openai-api",
"json-schema",
"typescript",
"class-validator",
"class-transformer",
"ai",
"gpt-wrapper",
"prompt-to-dto",
"typed-gpt",
"server",
"backend",
"nodejs"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/unbywyd/chatgpt-dto"
},
"homepage": "https://github.com/unbywyd/chatgpt-dto",
"files": [
"output/",
"README.md",
"LICENSE.md"
],
"devDependencies": {
"@types/node": "^22.13.5",
"typescript": "^5.7.3"
},
"peerDependencies": {
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"class-validator-jsonschema": "^5.0.1",
"reflect-metadata": "^0.2.2"
},
"dependencies": {
"openai": "^4.91.0"
}
}