UNPKG

json-diff-ts

Version:

Modern TypeScript JSON diff library - Zero dependencies, high performance, ESM + CommonJS support. Calculate and apply differences between JSON objects with advanced features like key-based array diffing, JSONPath support, and atomic changesets.

72 lines (71 loc) 1.92 kB
{ "name": "json-diff-ts", "version": "4.8.2", "description": "Modern TypeScript JSON diff library - Zero dependencies, high performance, ESM + CommonJS support. Calculate and apply differences between JSON objects with advanced features like key-based array diffing, JSONPath support, and atomic changesets.", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "type": "module", "scripts": { "build": "tsup --format cjs,esm", "format": "prettier --write \"src/**/*.ts\"", "lint": "eslint src/**/*.ts", "test": "jest --config jest.config.mjs", "test:watch": "jest --watch --config jest.config.mjs", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "files": [ "dist" ], "repository": { "type": "git", "url": "git+https://github.com/ltwlf/json-diff-ts.git" }, "keywords": [ "json", "diff", "difference", "typescript", "javascript", "compare", "patch", "delta", "object-diff", "json-diff", "json-patch", "state-management", "data-sync", "merge", "changeset", "array-diff", "deep-diff", "object-compare", "jsonpath", "modern", "esm", "zero-dependencies", "performance" ], "author": "Christian Glessner", "license": "MIT", "bugs": { "url": "https://github.com/ltwlf/json-diff-ts/issues" }, "homepage": "https://github.com/ltwlf/json-diff-ts#readme", "devDependencies": { "@eslint/js": "^9.29.0", "@jest/globals": "^30.0.0", "@types/jest": "^30.0.0", "eslint": "^9.29.0", "jest": "^30.0.0", "prettier": "^3.0.3", "ts-jest": "^29.4.0", "tsup": "^8.5.0", "typescript": "^5.8.3", "typescript-eslint": "^8.34.0" } }