{"library":"variable-diff","type":"library","category":null,"description":"variable-diff is a JavaScript/TypeScript library designed to generate a visual diff between two JavaScript variables, primarily objects or JSON structures. It focuses on presenting only the differences (additions, deletions, and modifications) in a human-readable, formatted output, making it easier to identify changes without sifting through identical data. The current stable version is 2.0.2. While there isn't an explicit release cadence, the project appears to be actively maintained, with recent updates introducing new features like an options argument in version 2.0.1. Its key differentiator is its emphasis on clear, colored, and indented output directly within the console or logs, making it particularly useful for debugging and comparing configuration objects or data states efficiently.","language":"javascript","status":"active","version":"2.0.2","tags":["javascript","diff","visual","json","object","variable","difference","changes","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install variable-diff","imports":["import diff from 'variable-diff';","const diff = require('variable-diff');","import type { DiffOptions } from 'variable-diff';"]},{"cmd":"yarn add variable-diff","imports":[]},{"cmd":"pnpm add variable-diff","imports":[]}],"homepage":null,"github":"https://github.com/taylorhakes/variable-diff","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/variable-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/variable-diff/compatibility"}}