Extra Credit

path-root

Get the root of a posix or windows filepath.

$npm install path-root

Official docs outline

Extra Credit builds an outline of path-root's docs the first time your work uses it. Until then, start at the official documentation.

All 9,484