gitmyhub

relative

JavaScript ★ 33 updated 3y ago

Easily calculate the relative path from file A to file B in Node.js project. Will calculate correctly from a file to a directory, file to file, directory to file, and directory to directory.

No plain-English explanation yet — one is being written right now. Check back in a minute.