Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: foo-bar
→ fooBar
Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.
jonschlinkertalmost 2 years agoSplit a string on the first occurance of a given separator
sindresorhusover 2 years agoRemoves separators from the end of the string.
darsainover 2 years ago