Vai al contenuto

Getting relative path in NodeJS:

Getting relative path in NodeJS:
* https://nodejs.org/api/path.html#pathrelativefrom-to

JavaScript
path.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