function siblings (node) {
  if (node && node.parentNode) {
    let n = node.parentNode.firstChild
    const matched = []

    for (; n; n = n.nextSibling) {
      if (n.nodeType === 1 && n !== node) {
        matched.push(n)
      }
    }

    return matched
  }

  return []
}
Finds siblings nodes of the passed node.

@param  {Element} node
@return {Array}