code: function cidArray (path) {
    if (path[path.length - 1] === '/') {
      path = path.substring(0, path.length - 1)
    }
    // skip /ipxs/ prefix
    if (path.match(/^\/ip[fn]s\//)) {
      path = path.substring(6)
    }
    // skip ipxs:// protocol
    if (path.match(/^ip[fn]s:\/\//)) {
      path = path.substring(7)
    }
    return path.split('/')
  }
docs: /* eslint-disable no-unused-vars Converts path or url to an array starting at CID