How to pass file file path as argument to the script?
I want to send the data from package.json:
"scripts": {
"start": "node list.js",
}
list.js:
const serviceAccount = require(path);
When I execute command npm start ./style.json, I wanted to pass the path to to path variable in list.js.
How can I do that?