All Projects → NV → Objectdiff.js

NV / Objectdiff.js

Licence: mit
Compares JavaScript objects

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Objectdiff.js

trickster
user-friendly linux memory hacking library
Stars: ✭ 50 (-80.24%)
Mutual labels:  debugging-tool
DeLorean
Time-traveling debugger for Svelte applications
Stars: ✭ 58 (-77.08%)
Mutual labels:  debugging-tool
guide-charles-proxy
Charles - Web Debugging Proxy Application. I want to share my experiences when I worked with Charles. It is such an amazing application for debugging and testing the presentation of UI when trying different set of data. Hope you guys will master Charles after reading this section. Let’s find out! 🖍
Stars: ✭ 22 (-91.3%)
Mutual labels:  debugging-tool
devmod
Developer Module for debugging web applications
Stars: ✭ 16 (-93.68%)
Mutual labels:  debugging-tool
websocket-tester-react
A websocket client for testing and debugging websocket connection built with react.
Stars: ✭ 19 (-92.49%)
Mutual labels:  debugging-tool
XDebugger
A very lightweight library (4Kb) to create a development or production debugger with custom errors readable for humans. Includes errors in table format, logger and search methods with dynamic filters.
Stars: ✭ 18 (-92.89%)
Mutual labels:  debugging-tool
docker-pudb
Debug Python code within a Docker container remotely from your terminal using pudb
Stars: ✭ 18 (-92.89%)
Mutual labels:  debugging-tool
phpdebugbar
PSR-15 middleware for PHP Debug bar
Stars: ✭ 64 (-74.7%)
Mutual labels:  debugging-tool
pydbg
Python implementation of the Rust `dbg` macro
Stars: ✭ 85 (-66.4%)
Mutual labels:  debugging-tool
ripdb
Remotely accessible IPython-enabled debugger
Stars: ✭ 21 (-91.7%)
Mutual labels:  debugging-tool
UnityConsole
Development console for Unity game engine
Stars: ✭ 52 (-79.45%)
Mutual labels:  debugging-tool
elisp-decompile
Emacs Lisp Decompiler
Stars: ✭ 22 (-91.3%)
Mutual labels:  debugging-tool
madbomber
Backtrace-on-throw C++ exception logger
Stars: ✭ 17 (-93.28%)
Mutual labels:  debugging-tool
telnetspy
Telnet Server For ESP8266: Cloning the serial port via Telnet. "Debugging over the air"
Stars: ✭ 41 (-83.79%)
Mutual labels:  debugging-tool
caddy-trace
Request Debugging Middleware Plugin for Caddy v2
Stars: ✭ 25 (-90.12%)
Mutual labels:  debugging-tool
Wasmite
Now WebAssembly has proper testing, unit-testing and debugging 🤗
Stars: ✭ 20 (-92.09%)
Mutual labels:  debugging-tool
netext
WinDbg extension for data mining managed heap. It also includes commands to list http request, wcf services, WIF tokens among others
Stars: ✭ 140 (-44.66%)
Mutual labels:  debugging-tool
bugsnag-wordpress
Bugsnag error monitoring for WordPress sites
Stars: ✭ 20 (-92.09%)
Mutual labels:  debugging-tool
jquery-manager
Manage jQuery and jQuery Migrate on a WordPress website, activate a specific jQuery and/or jQuery Migrate version. The ultimate jQuery debugging tool for WordPress
Stars: ✭ 27 (-89.33%)
Mutual labels:  debugging-tool
Mediator
Cross-platform GUI gRPC debugging proxy
Stars: ✭ 36 (-85.77%)
Mutual labels:  debugging-tool

objectDiff

objectdiff on npm

objectDiff.diff(objectA, objectB)

objectDiff.diff({x: 1}, {x: 2})
-> {
  changed: "object change",
  value: {
    x: {
      changed: "primitive change",
      removed: 1,
      added: 2
    }
  }
}

objectDiff.diff({z: {x: 1}}, {z: {y: 2}})
-> {
  changed: "object change",
  value: {
    z: {
      changed: "object change",
      value: {
        x: {
          changed: "removed",
          value: 1
        },
        y: {
          changed: "added",
          value: 2
        }
      }
    }
  }
}

objectDiff.diffOwnProperties(objectA, objectB)

Same as objectDiff.diff, but compares only objects' own properties

function A(){}
A.prototype.x = 1
objectDiff.diff({x: 1}, new A)
-> {changed: "equal", value: {x: 1}}

objectDiff.diffOwnProperties({x: 1}, new A)
-> {changed: "object change", value: {x: {changed: "removed", value: 1}}}

objectDiff.convertToXMLString(diffObject)

Used on the demo page.

Jasmine integration

objectDiff provides toEqualProperties and toEqualOwnProperties matchers for Jasmine. See example spec.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].