morsee
v1.0.9
Published
A simple decoder/encoder for morse code written in javascript
Downloads
149
Maintainers
Readme
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.