Skip to content

Fuwn/morse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Morse

Morse Code Utilities for Deno

Usage

The latest stable release of Morse can be imported from 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) is available here, and the latest stable documentation is available here.

Example

Encoding

import { encode } from "https://deno.land/x/morse/mod.ts";

encode("a"); // "._"
encode("a", { dash: "-" }); // ".-"

Decoding

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.

About

🧷 Morse Code Utilities for Deno

Topics

Resources

License

Stars

Watchers

Forks