UNPKG

compare-anything

Version:

Compares objects and arrays and tells you which props or values are duplicates, and which are only present once.

55 lines (54 loc) 1.35 kB
{ "name": "compare-anything", "version": "2.0.3", "description": "Compares objects and arrays and tells you which props or values are duplicates, and which are only present once.", "type": "module", "sideEffects": false, "exports": { ".": "./dist/index.js" }, "engines": { "node": ">=18" }, "scripts": { "test": "vitest run", "lint": "tsc --noEmit && eslint ./src", "build": "del-cli dist && tsc", "release": "npm run lint && npm run build && np" }, "dependencies": { "filter-anything": "^4.0.2", "is-what": "^5.2.0" }, "devDependencies": { "@cycraft/eslint": "^0.4.3", "@cycraft/tsconfig": "^0.1.2", "del-cli": "^6.0.0", "np": "^10.2.0", "vitest": "^3.0.6" }, "files": [ "dist" ], "keywords": [ "typescript", "javascript", "compare", "countif", "count-if", "duplicates", "compare-objects", "compare-arrays", "find-duplicates", "remove-duplicates" ], "author": "Luca Ban - Mesqueeb (https://cycraft.co)", "funding": "https://github.com/sponsors/mesqueeb", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/mesqueeb/compare-anything.git" }, "homepage": "https://github.com/mesqueeb/compare-anything#readme", "bugs": "https://github.com/mesqueeb/compare-anything/issues" }