define user npm script 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