package.json scripts start code example
Example 1: run the scripts in package json
npm run <script-name>
Example 2: custom scripts in package.json
"scripts": {
"homedata": "node export.js homedata",
},
//In the terminal type
npm run homedata