Step by step guide to install LAMP server on Linux.
Use the terminal to execute these commands
const crypto = require('crypto') | |
const express = require('express') | |
const bodyParser = require('body-parser') | |
const app = express() | |
// To include rawBody in req parameter | |
app.use(bodyParser.json({ | |
verify: (req, res, buf) => { | |
req.rawBody = buf |
/** | |
* This script will traverse your filesystem and convert all | |
* Images to desired format. | |
* | |
* REQUIRED PARAMETERS | |
* 1. Source directory path. | |
* (This is the path from where images will be converted) | |
* 2. Output format. 'default = .jpg' | |
**/ |