Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

json2md

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json2md - npm Package Compare versions

Comparing version 1.5.9 to 1.5.10

7

package.json
{
"name": "json2md",
"version": "1.5.9",
"version": "1.5.10",
"description": "A JSON to Markdown converter.",

@@ -57,4 +57,7 @@ "main": "lib/index.js",

"cli.js",
"index.js"
"index.js",
"bloggify.js",
"bloggify.json",
"bloggify/"
]
}

@@ -0,2 +1,4 @@

<!-- Please do not edit this file. Edit the `blah` field in the `package.json` instead. If in doubt, open an issue. -->
[![json2md](http://i.imgur.com/uj64JFw.png)](#)

@@ -6,3 +8,3 @@

[![Support me on Patreon][badge_patreon]][patreon] [![Buy me a book][badge_amazon]][amazon] [![PayPal][badge_paypal_donate]][paypal-donations] [![Version](https://img.shields.io/npm/v/json2md.svg)](https://www.npmjs.com/package/json2md) [![Downloads](https://img.shields.io/npm/dt/json2md.svg)](https://www.npmjs.com/package/json2md)
[![Support me on Patreon][badge_patreon]][patreon] [![Buy me a book][badge_amazon]][amazon] [![PayPal][badge_paypal_donate]][paypal-donations] [![Ask me anything](https://img.shields.io/badge/ask%20me-anything-1abc9c.svg)](https://github.com/IonicaBizau/ama) [![Version](https://img.shields.io/npm/v/json2md.svg)](https://www.npmjs.com/package/json2md) [![Downloads](https://img.shields.io/npm/dt/json2md.svg)](https://www.npmjs.com/package/json2md)

@@ -25,3 +27,3 @@ > A JSON to Markdown converter.

```js
const json2md = require("json2md");
const json2md = require("json2md")

@@ -57,9 +59,9 @@ console.log(json2md([

"function sum (a, b) {"
, " return a + b;"
, " return a + b"
, "}"
, "sum(1, 2);"
, "sum(1, 2)"
]
}
}
]));
]))
// =>

@@ -93,8 +95,10 @@ // # JSON To Markdown

// function sum (a, b) {
// return a + b;
// return a + b
// }
// sum(1, 2);
// sum(1, 2)
// ```
```
## :question: Get Help

@@ -106,3 +110,3 @@

2. For bug reports and feature requests, open issues. :bug:
3. For direct and quick help from me, you can [use Codementor](https://www.codementor.io/johnnyb). :rocket:
3. For direct and quick help, you can [use Codementor](https://www.codementor.io/johnnyb). :rocket:

@@ -138,4 +142,4 @@

json2md.converters.sayHello = function (input, json2md) {
return "Hello " + input + "!";
};
return "Hello " + input + "!"
}
```

@@ -146,3 +150,3 @@

```js
json2md({ sayHello: "World" });
json2md({ sayHello: "World" })
// => "Hello World!"

@@ -152,2 +156,3 @@ ```

#### Params
- **Array|Object|String** `data`: The input JSON data.

@@ -173,2 +178,3 @@ - **String** `prefix`: A snippet to add before each line.

- Starring and sharing the projects you like :rocket:
- [![Buy me a book][badge_amazon]][amazon]—I love books! I will remember you after years if you buy me one. :grin: :book:
- [![PayPal][badge_paypal]][paypal-donations]—You can make one-time donations via PayPal. I'll probably buy a ~~coffee~~ tea. :tea:

@@ -188,3 +194,7 @@ - [![Support me on Patreon][badge_patreon]][patreon]—Set up a recurring monthly donation and you will get interesting news about what I'm doing (things that I don't share with everyone).

- [`doc-cli`](https://github.com/cnio/doc-cli#readme) (by CNIO)—doc generator for nodejs
- [`fastur`](https://npmjs.com/package/fastur)—fastur
- [`gitdox`](https://github.com/danielbastos11/gitdox) (by Daniel Bastos)—jsdoc-based github readme generator
- [`jumia-travel-changelog`](https://github.com/josemsantos/jumia-travel-changelog-generator#readme) (by José Santos)—This tool is meant to automatize the process of creating and maintening a CHANGELOG.md file. Based on github pull requests and milestones it will report a complete list of releases with all events. All future milestones are considered future releases.
- [`machine-ip`](https://github.com/IonicaBizau/machine-ip#readme)—Update your public ip information in a git repository.
- [`p2doc`](https://npmjs.com/package/p2doc) (by jeremaihloo)—A generator to convert postman collections into api docs
- [`react-docgen-markdown`](https://github.com/Moezalez/react-docgen-markdown#readme) (by Moritz Sattler)—

@@ -191,0 +201,0 @@ - [`terraform2md`](https://github.com/shambarick/terraform2md#readme) (by Bryan LOT)—Generate the Markdown from a terraform.tfstate file.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc