Project directory path

Yes, I could adjust environment variables, or I could just copy the skript into a directory on the PATH, or modify the PATH for the node-red process.

But I want to avoid this additional step if possible: I am creating my home automation and I want to prepare for a migration at some point in the future when I have forgotten about all the additional steps that are required for my setup after checking out the project and one npm install. I want to minimize the additional steps.

node-red already knows the location of that directory. It loads the flows from there. The web interface detects when I manually change files there. I want to know if this information can be accessed from a node in the flow.