path-starts-with

Returns true if a filepath starts with the given string. Works with windows and posix/unix paths.

Browse on unpkg