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

htmlbook

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

htmlbook - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

14

htmlbook.js

@@ -11,12 +11,4 @@ var sys = require('sys'),

S = require('string'),
Remarkable = require('remarkable'),
md = new Remarkable('commonmark');
kramed = require('kramed');
md.set({
html: true,
breaks: true,
linkify: false,
langPrefix: 'lang-',
});
var markdown_headers = ['h1','h2','h3','h4','h5','h6'],

@@ -123,3 +115,3 @@ htmlbook_headers = ['h1','h1','h2','h3','h4','h5'],

var parser = new htmlparser.Parser(handler);
parser.write(md.render(this.input));
parser.write(kramed(this.input));
parser.end();

@@ -217,2 +209,2 @@

module.exports = function (str) {return new HTMLBook(str)};
}).call(this);
}).call(this);
{
"name": "htmlbook",
"version": "0.1.4",
"version": "0.1.5",
"description": "Markdown to HTMLBook converter",

@@ -25,4 +25,4 @@ "main": "./htmlbook.js",

"htmlparser2": "",
"kramed": "^0.5.0",
"optparse": "1.0.4",
"remarkable": "^1.6.0",
"string": "1.6.0",

@@ -29,0 +29,0 @@ "underscore": "1.5.2"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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