Morse Code Utilities for Deno
The latest stable release of Morse can be import
ed 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.
The latest documentation (main) is available here, and the latest stable documentation is available here.
import { encode } from "https://deno.land/x/morse/mod.ts";
encode("a"); // "._"
encode("a", { dash: "-" }); // ".-"
import { decode } from "https://deno.land/x/morse/mod.ts";
decode("._"); // "a"
decode(".-", { dash: "-" }); // "a"
This project is licensed with the GNU General Public License v3.0.