node-path-root

Get the root of a posix or windows filepath
  https://github.com/jonschlinkert/path-root
  0
  no reviews



Given a posix or windows filepath as a string, returns the matching filesystem root.

Node.js is an event-based server-side JavaScript engine.