des-morse
v1.0.0
Published
Npm package for help you to encode & decode morse code
Downloads
11
Maintainers
Readme
Des Morse
🔎 About
Des Morse is Npm package for help you to encode & decode morse code
📥 Installation
npm install des-morse
🔧 Usage
const morse = require("des-morse");
let encode = morse.encode("Hello world");
console.log(encode);
// Output: -> .... . .-.. .-.. --- / .-- --- .-. .-.. -..
let decode = morse.decode(encode);
console.log(decode);
// Output: -> hello world
📚 Symbol List
"/" = Space
"?" = Unknown Code
"." = Dot
"-" = Dash
" " = Seperator