# morse-encode-decode

> A morse encoder/decoder API

Latest version **1.3.2** (published 2019-03-06) · ISC license · 0 weekly downloads

## Install

```sh
npm install morse-encode-decode
pnpm add morse-encode-decode
yarn add morse-encode-decode
bun add morse-encode-decode
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.2 |
| Published | 2019-03-06 |
| First published | 2019-02-24 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 15.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Fifi Art |
| Maintainers | fifiinart |

## Links

- npm: https://www.npmjs.com/package/morse-encode-decode
- npm.io page: https://npm.io/package/morse-encode-decode

## Recent versions

- 1.3.2 (latest) — 2019-03-06
- 1.3.1 — 2019-03-03
- 1.3.0 — 2019-03-03
- 1.1.3 — 2019-02-24
- 1.1.2 — 2019-02-24
- 1.1.1 — 2019-02-24
- 1.0.1 — 2019-02-24
- 1.0.0 — 2019-02-24

## README

# Morse Encode-Decode

This is an npm module created for encoding and decoding morse code. Install it [here](https://www.npmjs.com/package/morse-encode-decode) or use the following npm command:

```
npm i morse-encode-decode
```

## How to use Morse Encode-Decode
The package contains an object with two properties: `morse` and `version`. `version` is the version of the package.
The `morse()` method has two parameters: `type` and `message`. `type` is whether you want to encode or decode text, and `message` is the text to encode and decode.

`morse` will return one of two objects:

```js
  {
    request: 'The request given to morse',
    success: true,
    value: 'The value morse returns'
  }
```

```js
  {
    request: 'The request given to morse',
    success: false,
    error: 'Why morse failed'
  }
```

---
_Source: https://npm.io/package/morse-encode-decode · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
