This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var nodemailer = require('nodemailer'); | |
const uuid = require('uuid'); | |
var transporter = nodemailer.createTransport({ | |
service : 'gmail', | |
auth : { | |
user : '', | |
pass : '' | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var command; | |
const fs = require('fs'); | |
function some(){ | |
const ffmpegInstaller = require('@ffmpeg-installer/ffmpeg'); | |
var ffmpeg = require('fluent-ffmpeg'); | |
ffmpeg.setFfmpegPath(ffmpegInstaller.path); | |
command = ffmpeg(); | |
createVideo(command); |