object.groupby

An ESnext spec-compliant `Object.groupBy` shim/polyfill/replacement that works as far down as ES3.

array.prototype.tosorted

An ESnext spec-compliant `Array.prototype.toSorted` shim/polyfill/replacement that works as far down as ES3.

jsesc

Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.