I have url like this:
http://example.com/path/to/css/../../images/test.jpg
which i want to convert to absolute like the following:
http://example.com/path/images/test.jpg
I am looking for a module in Nodejs to do the same. The module, path, does the same thing. but(path.resolve) prepends with the directory path too.
I am looking for something similar, but for urls.