63
rated 0 times
[
70]
[
7]
/ answers: 1 / hits: 24901
/ 11 Years ago, wed, may 22, 2013, 12:00:00
I wonder how-to get an absolute path of a caller of a function?
Let say that:
in file a.js
I call b()
; b()
is a function defined in file b.js
. a.js
requires b
. So how do I get a.js
absolute path from b.js
in node?
More From » node.js