docs: function split(p) {
    const components = p.replace(/\/+/g, '/').replace(/\/+$/, '').split(path.sep);
    if (path.isAbsolute(p) && components[0] === '') {
      components[0] = '/';
    }
    return components;
  }