jonschlinkert/relative

jonschlinkert/relative

Releases5
Frequency4 months 1 week
Last Release
Stars33
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.

Linked projects

Get the relative filepath from path A to path B. Calculates from file-to-directory, file-to-file, directory-to-file, and directory-to-directory.