New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

morse-encode-decode

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

morse-encode-decode

A morse encoder/decoder API

latest
npmnpm
Version
1.3.2
Version published
Maintainers
1
Created
Source

Morse Encode-Decode

This is an npm module created for encoding and decoding morse code. Install it here 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:

  {
    request: 'The request given to morse',
    success: true,
    value: 'The value morse returns'
  }
  {
    request: 'The request given to morse',
    success: false,
    error: 'Why morse failed'
  }

FAQs

Package last updated on 06 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts