A cli tool to encode or decode morse code.
- npm install morse-conv-cli
- conv morse-text <'morse_data'> command to convert morse data into text.
- conv text-morse <'text_data'> command to convert text into morse.
- write text_data or morse_data inside single quotes or doube.
-
conv text-morse 'hi hello world! what are u doing'
-
output:
.... .. / .... . .-.. .-.. --- / .-- --- .-. .-.. -.. -.-.-- / .-- .... .- - / .- .-. . / ..- / -.. --- .. -. --.
-
conv morse-text '.... .. / .... . .-.. .-.. --- / .-- --- .-. .-.. -.. -.-.-- / .-- .... .- - / .- .-. . / ..- / -.. --- .. -. --.'
-
output:
hi hello world! what are u doing