Morsee
is an encoder decoder of morse code written in javascript without dependencies
Installation
npm
$ npm install morsee --save
yarn
$ yarn add morsee
Usage
const { encode, decode } = require('morsee');
const encoded = encode('hello world');
// .... . .-.. .-.. --- .-- --- .-. .-.. -..
const decoded = decode('.... . .-.. .-.. --- / .-- --- .-. .-.. -..');
// hello world
License
The MIT License (MIT). Please see License File for more information.