export function extname(path = '') {
  const { pathname } = url.parse(path)
  return nps.extname(pathname).replace(/^\./, '')
}