I have searched extensively but I cant find anything about the best / simplest method of dynamically creating file paths within node-red functions that will work on both a linux and a windows host.
I am modifying an application written by someone else in our company that is intended to be deployed on whatever suitable host is available at the time. The person that wrote it used a windows host, but now I need to deploy it on a Linux host and the paths are all windows style. The biggest issue is "/" vs "" but also linux is case sensitive whereas windows isn't.
Can someone point me to a guide or something on the best practice for making it cross platform ?