🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

json2plain-text

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

json2plain-text

json2plain-text - Convert JSON to plain text

1.0.0
unpublished
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

json2plain-text

Version Stars weekly Download License Maintenance issues

A simple package to search phone number details.

Basic Usage

var convert = require('json2plain-text');

var jsonData = {
        "name": "Sumith Emmadi",
        "phones": [{
                "number": "+000000000000",
                "numberType": "MOBILIE",
                "dialingCode": 91,
                "countryCode": "IN",
                "carrier": "Vodafone Idea",
                "type": "openPhone"
        }],
        "provider": "ss-nu"
}

var response = convert.plainText(jsonData);
console.log(response);
name                : Sumith Emmadi
phones              :
number              : +000000000000
numberType          : MOBILIE
dialingCode         : 91
countryCode         : IN
carrier             : Vodafone Idea
type                : openPhone
provider            : ss-nu

Keywords

json2plain-text

FAQs

Package last updated on 07 Nov 2021

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