Supply a path and a root node and receive the node at that path.
npm install domnode-at-pathpath is an array, where [] is the root node, [0] is the first child node and [0,1] is the second child of the first child of the root node.
rootNode is the reference in respect to which the paths are resolved