Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

run index.js

Just index.js file:
 > node index.js

Using package.json file:
 - Add the following lines to package.json:
   {
     ....
       "scripts": {
         "start": "node index.js"
       }
     ....
   }
 > npm start 
 
PREVIOUS NEXT
Tagged: #run
ADD COMMENT
Topic
Name
6+1 =