deep-cleaner

Recursively remove deeply nested properties and/or falsey values (excluding 0), empty objects, and empty arrays.

deep-cleaner-es6

Delete nested key-value pairs on an object with a provided key, or remove undefined, null, empty strings, empty arrays, and empty nested objects from an object.