Categories

We can write text over multiple images using Nodejs. To do this we will use JIMP also known as Javascript Image Manipulation Program. https://www.npmjs.com/package/jimp In this tutorial, we will write text from a text file line by line over multiple ...

Nodejs File System. Load module with name ‘fs’ To Read a file use fs.readFile  To Write a file use fs.writeFile (Note : if file does not exists it will create the file) existsSync is used to check if file or ...

 Here we will simply create a static file using file module and then send the same file as the response. To view the result run this file using node app.js then visit localhost:8080 in the browser const fs = require("fs"); ...

adbanner