1.0.2 • Published 1 year ago
danieluno-morse v1.0.2
Morse :telephone:
Morse is a npm package converts a text into morse code and morse code a text. developed by daniel uno with the aim of helping translate text to morse code
Package Link :link:
https://www.npmjs.com/package/danieluno-morse
Authors :frowning_man::frowning_woman:
Installation :computer:
Install this package with npm
npm i danieluno-morse
Usage/Examples :black_nib:
const morse = require('danieluno-morse');
morse.textToMorseCode('hello world');
# returns '.... . .-.. .-.. --- / .-- --- .-. .-.. -..'
morse.morseCodeToText('.... . .-.. .-.. --- / .-- --- .-. .-.. -..');
# returns 'HELLO WORLD'