morsecode
Encode and decode text using standard international Morse code
Summary
| Latest Version | Unknown |
|---|---|
| License | GPL-3.0-or-later |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-22 05:29 |
Tags
Installation
nimble install morsecode
choosenim install morsecode
git clone https://github.com/nemuelw/morsecode
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| morsecode | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/nemuelw/morsecode |
|---|---|
| Homepage | https://github.com/nemuelw/morsecode |
| Registry Source | nimble_official |
README
morsecode
Encode and decode text using standard international Morse code
Setup
- Run this command in your project directory:
nimble install morsecode
Usage
Import the package
import morsecode
Encoding
# output: .... . .-.. .-.. --- .-- --- .-. .-.. -..
echo encode("HELLO WORLD)
Decoding
# output: HELLO WORLD
echo decode(".... . .-.. .-.. --- .-- --- .-. .-.. -..")
Tests
- To run tests, simply run this command:
nimble test