UNPKG

json-to-schema-generator

Version:

json-to-schema is a lightweight and powerful utility that generates JSON Schema from a given JSON object. It automatically detects the structure of the JSON, including nested objects and arrays, and generates a corresponding schema that can be used for va

41 lines (40 loc) 1.17 kB
{ "name": "json-to-schema-generator", "version": "2.0.1", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "tsc" }, "keywords": [ "json", "schema", "json-schema", "generator", "json-to-schema", "json-schema-generator", "AI-schema", "output-schema", "AI-output-schema" ], "author": "Prabu ganesan", "license": "MIT", "description": "json-to-schema is a lightweight and powerful utility that generates JSON Schema from a given JSON object. It automatically detects the structure of the JSON, including nested objects and arrays, and generates a corresponding schema that can be used for validation, documentation, and other purposes.", "devDependencies": { "@types/node": "22.10.2", "typescript": "5.7.2" }, "repository": { "type": "git", "url": "https://github.com/Prabuganesan/json-to-schema" }, "homepage": "https://github.com/Prabuganesan/json-to-schema#readme", "funding": { "type": "paypal", "url": "https://paypal.me/prabuganesan" }, "dependencies": { "ajv": "8.17.1" } }