@kaitodecode/morse-code-translator

1.1.7 • Public • Published

translator sandi morse ts by kaito

mengubah bentuk string kalimat menjadi pecahan kata sandi morse begitu juga sebaliknya

usage

const KalimatKeMorseCode = convertSentenceToMorseCode("Adi Baik Banget");
console.log(KalimatKeMorseCode);

//result
[ '.- -.. ..  ', '-... .- .. -.-  ', '-... .- -. --. . -  ' ]


const KalimatKeMorseCode = convertMorseCodeToLetters(".- -.. ..");
console.log(KalimatKeMorseCode);
//result
[ 'a', 'd', 'i' ]

Readme

Keywords

none

Package Sidebar

Install

npm i @kaitodecode/morse-code-translator

Weekly Downloads

0

Version

1.1.7

License

ISC

Unpacked Size

16.9 kB

Total Files

6

Last publish

Collaborators

  • kaitodecode