docs: function getNamespace (path, relative) {
    // ignore parent path
    let final = ''
    if (relative) {
      const s = path.split('/')
      final = s[s.length - 1]
    } else {
      final = path.startsWith('./') ? path.slice(2) : path
    }
    // remove '.js'
    return final.slice(0, final.length - 3)
  }