const sampleModule = require('modulename.ts');
I have no experience with any image processing/editing tools. I am doing a project which requires me to convert the images(small icon) with background colour(red/blue/white) to transparent for the website.
FYI, in my case "node" command (v14.17.1) using ".ts" files directly without generating "*.js" files.
The goal is to transform the red background to transparent.