npm start script in package.json for express code example
Example: custom scripts in package.json
"scripts": {
"homedata": "node export.js homedata",
},
//In the terminal type
npm run homedata
"scripts": {
"homedata": "node export.js homedata",
},
//In the terminal type
npm run homedata