Can someone help me, is the code written in node.js, how to convert it to node red?

I would like to convert node-red-node-twitter so that a video file can also be uploaded. the code is written in node.js. can anyone help?

sample node.js code: Publish Text, Image, Gif, & Video Twitter Posts Using Node.js