morse-conv-cli

1.0.0 • Public • Published

morse-conv-cli

A cli tool to encode or decode morse code.

Installation:

  • npm install morse-conv-cli

commands:

  • conv morse-text <'morse_data'> command to convert morse data into text.
  • conv text-morse <'text_data'> command to convert text into morse.

Note:

  • write text_data or morse_data inside single quotes or doube.

Example 1:

  •   conv text-morse 'hi hello world! what are u doing'
      
    
  • output:

    .... .. / .... . .-.. .-.. --- / .-- --- .-. .-.. -.. -.-.-- / .-- .... .- - / .- .-. . / ..- / -.. --- .. -. --.

Example 2:

  •   conv morse-text '.... .. / .... . .-.. .-.. --- / .-- --- .-. .-.. -.. -.-.-- / .-- .... .- - / .- .-. . / ..- / -.. --- .. -. --.'
      
      
  • output:

    hi hello world! what are u doing

Package Sidebar

Install

npm i morse-conv-cli

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

1.59 kB

Total Files

3

Last publish

Collaborators

  • suraj_chandra