@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' ]

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.70latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.70
1.1.60
1.1.51
1.1.41
1.1.30
1.1.20
1.1.10
1.1.01
1.0.00

Package Sidebar

Install

npm i @kaitodecode/morse-code-translator

Weekly Downloads

3

Version

1.1.7

License

ISC

Unpacked Size

16.9 kB

Total Files

6

Last publish

Collaborators

  • kaitodecode