code: function getSelector(node) {
    var selector = arguments.length <= 1 || arguments[1] === undefined ? [node.name] : arguments[1];
  
    var parent = node.parent;
    if (parent) {
      var children = parent.children;
      var matches = children.filter(function (child) {
        return child.name === node.name;
      });
      if (matches.length > 1) {
        for (var i = 0, l = matches.length; i < l; i++) {
          if (matches[i] === node) {
            selector[0] = selector[0] + ':nth-of-type(' + (i + 1) + ')';
            break;
          }
        }
      }
      selector.unshift(parent.name);
    }
    return parent && parent.parent ? getSelector(parent, selector) : selector.join(' > ');
  }
docs: # Utilities
  
  Helper functions
   
  [getSelector description]
  @param  {Object} node     - [description]
  @param  {Array}  selector - [description]
  @return {String}          - [description]