Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.12 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.12 KB

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.