1.3.2 • Published 5 years ago

morse-encode-decode v1.3.2

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

Morse Encode-Decode

This is an npm module created for encoding and decoding morse code. Install it here or use the following npm command:

npm i morse-encode-decode

How to use Morse Encode-Decode

The package contains an object with two properties: morse and version. version is the version of the package. The morse() method has two parameters: type and message. type is whether you want to encode or decode text, and message is the text to encode and decode.

morse will return one of two objects:

  {
    request: 'The request given to morse',
    success: true,
    value: 'The value morse returns'
  }
  {
    request: 'The request given to morse',
    success: false,
    error: 'Why morse failed'
  }
1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago