79551828

Date: 2025-04-03 01:49:05
Score: 2
Natty:
Report link

Very late to the party, but this library does exactly what you're looking for: https://github.com/adamhamlin/deep-equality-data-structures

const map = new DeepMap([[{a: 1}, 2]]);
console.log(map.get({a: 1})); // Prints: 2

Full disclosure: I am the library author

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ishovelwell