{"library":"api-smart-diff","type":"library","category":null,"description":"api-smart-diff is a JavaScript/TypeScript library designed to compute detailed differences between two JSON-based API specifications. It currently supports OpenAPI 3.0, AsyncAPI 2.x, JSON Schema, and GraphQL via GraphApi. Version 1.0.6 is the current stable release, offering a robust set of features for API versioning and changelog generation. Key differentiators include its ability to classify changes into 'breaking', 'non-breaking', 'deprecated', and 'annotation' types, generate human-readable descriptions for each change, and resolve `$ref` pointers (with external bundling). It provides extensive customization options for comparison rules, classification, and output annotation, making it highly adaptable for various CI/CD pipelines and documentation generation tasks. The library works seamlessly in both Node.js and browser environments and ships with full TypeScript support.","language":"javascript","status":"active","version":"1.0.6","tags":["javascript","jsonschema","diff","merge","compare","openapi","swagger","asyncapi","graphql","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install api-smart-diff","imports":["import { apiCompare } from 'api-smart-diff'","import type { Diff } from 'api-smart-diff'","var { diffs, merged } = ApiSmartDiff.apiCompare(before, after)"]},{"cmd":"yarn add api-smart-diff","imports":[]},{"cmd":"pnpm add api-smart-diff","imports":[]}],"homepage":null,"github":"https://github.com/udamir/api-smart-diff","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/api-smart-diff","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/api-smart-diff/compatibility"}}