A package for javascript or nodejs to translate a word, text, sentence, number into morse code
const translate = require('morse-translator'); //morse-tranlator
let get;
try {
get = translate('morse') //translate the word 'morse' to morse code
} catch (err) {
console.log(err)
}
console.log(get) //send the result into console.log
npm i morse-translator