
jsdiff.diff(...) por A. Block
Compare objects in memory with jsdiff.diff(old, new) devtools function
1 User1 User
Metadados da extensão
Capturas de ecrã



Acerca desta extensão
An extension for developers that enhances the console API by incorporating the ability to compare objects and adds a JSDiff tab (parallel to Elements, Network panels) within your dev-tools for viewing the results.
Motivation:
Track object mutations during runtime and/or while debugging with intention to find expected or unexpected changes.
Note: before using, immediately after fresh installation, - make sure to refresh inspected tab or restart the browser.
API:
// compare left and right
jsdiff.diff(left, right);
// shorthand for jsdiff.diffPush(next)
jsdiff.diff(next);
// update object on the left side only
jsdiff.diffLeft(left);
// update object on the right side only
jsdiff.diffRight(right);
// shifts sides, right becomes left, next becomes right
jsdiff.diffPush(next);
Read more at: https://github.com/zendive/jsdiff
Motivation:
Track object mutations during runtime and/or while debugging with intention to find expected or unexpected changes.
Note: before using, immediately after fresh installation, - make sure to refresh inspected tab or restart the browser.
API:
// compare left and right
jsdiff.diff(left, right);
// shorthand for jsdiff.diffPush(next)
jsdiff.diff(next);
// update object on the left side only
jsdiff.diffLeft(left);
// update object on the right side only
jsdiff.diffRight(right);
// shifts sides, right becomes left, next becomes right
jsdiff.diffPush(next);
Read more at: https://github.com/zendive/jsdiff
Extension for Chrome can be found here: https://chromewebstore.google.com/detail/consolediff/iefeamoljhdcpigpnpggeiiabpnpgonb
Rated 0 by 0 reviewers
Permissions and dataSaber mais
Permissões necessárias:
- Estender as ferramentas de programador para aceder aos seus dados em separadores abertos
- Aceder aos seus dados para todos os sites
Permissões opcionais:
- Aceder aos seus dados para todos os sites
Mais informação
- Ligações do extra
- Versão
- 3.1.0
- Tamanho
- 76,12 KB
- Última atualização
- há 6 meses (9 de abr de 2025)
- Categorias relacionadas
- Licença
- MIT License
- Histórico de versões
- Adicionar à coleção