Installation
npm install --save @types/morsee
Summary
This package contains type definitions for morsee (https://github.com/gabrielfurini/morsee).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/morsee.
index.d.ts
/**
* Encodes given string to morse code.
*
* @param str The input string to encode.
* @returns A string of the encoded input.
*/
export function encode(str: string): string;
/**
* Decodes given morse code string to plain text.
*
* @param str The input string to decode.
* @returns A string of the decoded input.
*/
export function decode(str: string): string;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Bas950.