How Can We Help?
< Back
You are here:
Print

Node Crash Course (Traversy)

npm init – (create package.json file listing dependencies)
npm install express(local install)
npm install express -g

const path = require(‘path’)
const myFile = require(‘./myFile’)

node –version
npm –version
General Syntax
const name = ‘Gary’
console.log(name)
function hello(){return ‘Hello World to ‘ + name}

Table of Contents