app.use(require("express-session")({ secret:"secret!", resave: false, saveUninitialized: false code example
Example: npm express-session
npm i express-session //On Hyper/CMD
const session = require('express-session'); //To Acquire it
app.use(session({ //Usuage
secret: 'keyboard cat',
resave: false,
saveUninitialized: true,
cookie: { secure: true }
}));