zahra_mahdizade_module
v1.0.2
Published
This module provides functionality to convert text to Morse code and vice versa.
Readme
Morse Code Converter
This project is a JavaScript module that allows you to convert text to Morse code and vice versa. The module includes two main functions: textToMorse and morseToText.
Installation
To install this package, use npm:
Usage
Convert Text to Morse Code
To convert text to Morse code, use the textToMorse function:
Convert Morse Code to Text
To convert Morse code back to text, use the morseToText function:
Functions
textToMorse(text)
- Input: A string of text
- Output: A string of Morse code
morseToText(morse)
- Input: A string of Morse code
- Output: A string of text
Contributing
If you would like to contribute to this project, please submit a pull request. Any ideas or feedback are also welcome!
License
This project is licensed under the MIT License.
