Getting relative path in NodeJS: Getting relative path in NodeJS: * https://nodejs.org/api/path.html#pathrelativefrom-to JavaScript1 2path.relative(from, to) // => String // If not null, the return always has a prefix that goes down one extra directory, often it must be manually removed