开发者社区> 镜像站> NPM> @yerkopalma/morsee
@yerkopalma/morsee
A simple decoder/encoder for morse code written in javascript
Last updated 3 months ago by yerkopalma .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @yerkopalma/morsee 
SYNC missed versions from official npm registry.

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 @yerkopalma/morsee --save

yarn

$ yarn add @yerkopalma/morsee

Usage

const { encode, decode } = require('@yerkopalma/morsee');

const encoded = encode('hello world');
// .... . .-.. .-.. ---     .-- --- .-. .-.. -..

const decoded = decode('.... . .-.. .-.. --- / .-- --- .-. .-.. -..');
// hello world

License

The MIT License (MIT). Please see License File for more information.

Current Tags

  • 1.0.6                                ...           latest (3 months ago)

1 Versions

  • 1.0.6                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (5)
Dependents (0)
None