findChildNode
findChildNode is able to find a child node in a json object parsed by parse5.
Installation
npm install find-child-node
Usage
var findChildNode = ; var classObj = findChildNode;var classId = findChildNode;var classAttribute = findChildNode;
Methods
- byId - childNodes (Array of object), id (string)
- byClass - childNodes (Array of object), class (string)
- byAttribute - childNodes (Array of object), key (string), value (string)