Returns true if a filepath starts with the given string. Works with windows and posix/unix paths.
javascript
windows
string
fs
file
path
posix
filepath
slash
endswith
startswith
jonschlinkert
leading-slash
-
Updated
Jul 29, 2023 - JavaScript