Node JS UTF8 Encode

//install using 'npm install utf8'
const utf8 = require('utf8');
utf8.encode(string)
adreaskar