shanks-utils (npm): some common function
Keywords: shanks|utils|list2tree