Quantcast
Channel: How Express js module - Stack Overflow
Viewing all articles
Browse latest Browse all 2

How Express js module

$
0
0

I am beginner at Node js. Can someone explain me where this function express() come from.

const express = require('express')const app = express()

In my reasoning const express stores the 'express' object, so why here is function called? Instead of method or property.

const app = express()

Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images