npm add command to package.json 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