how to get parent path in children script in node.js

前端 未结 0 978
一整个雨季
一整个雨季 2021-02-11 02:38

I have one nodeJs script under the path ~/x/y/z/src/application.js that would like to get the path of where the index.js call the function. I can use path

相关标签:
回答
  • 消灭零回复
提交回复
热议问题