import { normalizePath } from "https://deno.land/x/actionify@0.3.0/src/deps/globber.ts";
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.
Adapted from https://github.com/jonschlinkert/normalize-path