1const cookieParser = require('cookie-parser');
2const express = require('express');
3const app = express();
4app.use(cookieParser());
5
6app.get('/', (req, res) => {
7 console.log('Cookies: ', req.cookies);
8 console.log('Signed Cookies: ', req.signedCookies);
9});
10
11app.listen(3000);