jsesc
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
array-union
Create an array of unique values, in order, from the input arrays
is-descriptor
Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.