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.2 to 0.1.3

.npmignore

3

htmlbook.js

@@ -15,3 +15,4 @@ var sys = require('sys'),

gfm: true,
tables: true
tables: true,
pedantic: true
});

@@ -18,0 +19,0 @@

{
"name": "htmlbook",
"version": "0.1.2",
"version": "0.1.3",
"description": "Markdown to HTMLBook converter",

@@ -20,3 +20,3 @@ "main": "./htmlbook.js",

"dependencies": {
"marked": "0.2.9",
"marked": "0.3.3",
"optparse": "1.0.4",

@@ -23,0 +23,0 @@ "html": "0.0.7",

@@ -73,3 +73,16 @@ var htmlbook = require('../htmlbook');

it("should not parse html tags as markdown", function (done) {
fs.readFile("spec/documents/markup.md", "utf-8", function (err, source) {
if (err) throw new Error("Error opening source document");
var result = htmlbook(source).parse();
fs.readFile("spec/documents/markup.html", "utf-8", function (err, html) {
console.log(result)
expect(result).toEqual(html);
done();
});
});
});
// it("should throw an error when no title present in complete mode.")
});

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