dh-text-to-morse-converter

1.0.3 • Public • Published

Welcome to dh-text-to-morse-converter 😎😴

Version License: ISC

This is a converter text to morse code,a task corresponding to the web frontend technologies module

Url

https://www.npmjs.com/package/dh-text-to-morse-converter

Install

npm i dh-text-to-morse-converter

Usage

Before install, create a new file .js and enter the next code:

let converter = require('dh-text-to-morse-converter')

let morse = converter.textToMorseCode("hello world")
console.log(morse)

let text = converter.morseCodeToText(".... . .-.. .-.. --- / .-- --- .-. .-.. -..")
console.log(text)

Run tests

npm run test

Author

👤 Gustavo Gabriel Lazarte Mamani

  • Website: Gustavo Lazarte

Show your support

Please contact to : gustucapo@gmail.com for add new morse code to the dictionary and do more complete this library


/dh-text-to-morse-converter/

    Package Sidebar

    Install

    npm i dh-text-to-morse-converter

    Weekly Downloads

    1

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    4.43 kB

    Total Files

    6

    Last publish

    Collaborators

    • gustov