Xmorse is a pure (about 1.5KB) JavaScript library for encoding/decoding Morse code messages, supporting Unicode.
The whole original network, support Unicode, Chinese and English Morse code encoding and decoding tool!
How to Encode and Decode Strings Using Base64 | base64.js
How to make use of it:
1. Install xmorse via NPM.
npm install xmorse
2. Import xmorse into your project.
var xmorse = require('xmorse'); //or import xmorse from 'xmorse';
3. Or directly include the JavaScript file xmorse.min.js in the html page.
<script src="/path/to/xmorse.min.js"></script>
4. Morse code encode:
xmorse.encode('Hello, Xmorse!');
5. Morse code decoding:
xmorse.decode('...././.-../.-../---/--..--/-..-/--/---/.-./..././-.-.--');
Morse Code Translator Library, Xmorse Plugin/Github
See Demo And Download
Official Website(hustcc): Click Here
This superior jQuery/javascript plugin is developed by hustcc. For extra Advanced Usages, please go to the official website.