Skip to content

A simple decoder/encoder for morse code written in javascript without dependencies

License

Notifications You must be signed in to change notification settings

gabrielfurini/morsee

Repository files navigation

Morsee

is an encoder decoder of morse code written in javascript without dependencies

NPM version Build Status Coverage Status Total downloads

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.