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

jsreport-html-to-markdown

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsreport-html-to-markdown - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

4

lib/scriptHtmlToMarkdown.js
const turndown = require('turndown')
const turndownPluginGfm = refquire('turndown-plugin-gfm')
module.exports = async (inputs, callback, done) => {

@@ -8,2 +8,4 @@ try {

const converter = new turndown(inputs.convertOptions)
const gfm = turndownPluginGfm.gfm
converter.use(gfm)
const markdownContent = converter.turndown(inputs.html)

@@ -10,0 +12,0 @@

{
"name": "jsreport-html-to-markdown",
"version": "1.0.5",
"version": "1.0.6",
"description": "jsreport recipe converting markdown into html",

@@ -31,2 +31,3 @@ "main": "index.js",

"turndown": "^7.0.0",
"turndown-plugin-gfm": "^1.0.2",
"node.extend.without.arrays": "1.1.6"

@@ -33,0 +34,0 @@ },

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