To redirect a page in Node.js, you can use the express framework. You can achieve redirection by using the res.redirect method provided by Express.Here's how you can redirect a page in Node.js using Express:
const express = require('express');
const app = express();
app.get('/redirect', (req, res) => {
res.redirect('http://www.example.com');
});
app.listen(3000, () => {
console.