https://github.com/fuwn/morse
🧷 Morse Code Utilities for Deno
https://github.com/fuwn/morse
deno morse
Last synced: 6 months ago
JSON representation
🧷 Morse Code Utilities for Deno
- Host: GitHub
- URL: https://github.com/fuwn/morse
- Owner: Fuwn
- License: gpl-3.0
- Created: 2022-05-19T21:57:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-23T05:53:11.000Z (over 3 years ago)
- Last Synced: 2025-03-22T22:49:28.016Z (7 months ago)
- Topics: deno, morse
- Language: TypeScript
- Homepage: https://deno.land/x/morse
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Morse
Morse Code Utilities for Deno
## Usage
The latest stable release of Morse can be `import`ed from
[deno.land/x](https://deno.land/x) using https://deno.land/x/morse/mod.ts; or,
you can `import` the latest bleeding-edge commit straight from GitHub using
https://raw.githubusercontent.com/Fuwn/morse/main/mod.ts.## Documentation
The latest documentation ([main](https://github.com/Fuwn/morse/tree/main)) is
available
[here](https://doc.deno.land/https/raw.githubusercontent.com/Fuwn/morse/main/mod.ts),
and the latest stable documentation is available
[here](https://doc.deno.land/https/deno.land/x/morse/mod.ts).## Example
### Encoding
```ts
import { encode } from "https://deno.land/x/morse/mod.ts";encode("a"); // "._"
encode("a", { dash: "-" }); // ".-"
```### Decoding
```ts
import { decode } from "https://deno.land/x/morse/mod.ts";decode("._"); // "a"
decode(".-", { dash: "-" }); // "a"
```## License
This project is licensed with the [GNU General Public License v3.0](LICENSE).