kriskowal

kriskowal/pop-compare

Polymorphic deep comparison operator for arbitrary JavaScript values

JavaScript
2
0
No license

pop‑compare is a tiny JavaScript library that provides a polymorphic deep‑comparison function usable on any values—primitives, arrays, objects, or custom types that implement a `compare` method. It returns a numeric ordering (negative, zero, positive, or ±Infinity) and is intended for developers who need a reliable, total ordering for heterogeneous data structures (e.g., sorting or deduplication) without writing ad‑hoc comparison logic.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of kriskowal/pop-compare

Account's avatar
A light, modular, promissory, isomorphic Jasmine test scaffold clone

Support the repos that depend on this repository

Top contributors

kriskowal's profile
kriskowal
3 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet