tree-clean (npm): Lets you prune a tree via a callback similar to JS's build in Array.prototype.filter
Keywords: tree|filter|clean|prune