In my app I have directory server and sub-directory x and within this directory there is a file called x.js (written using node.js).
In another sub-directory of server there is a y.json file; I want to use its content in x.js.
It must be very easy, but nothing yet has helped me,
thanks!