md-list-tree-parser
Advanced tools
Comparing version 1.2.0 to 1.3.0
{ | ||
"name": "md-list-tree-parser", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "parse markdown list-style tree to json", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -30,3 +30,3 @@ ## md-list-tree-parser | ||
"link": "someurl", | ||
"children": [ | ||
"childNodes": [ | ||
{ | ||
@@ -39,7 +39,7 @@ "title": "level2", | ||
"link": "someurl", | ||
"children": [ | ||
"childNodes": [ | ||
{ | ||
"title": "three", | ||
"link": "....", | ||
"children": [ | ||
"childNodes": [ | ||
{ | ||
@@ -51,3 +51,3 @@ "title": "four", | ||
"title": "four", | ||
"children": [ | ||
"childNodes": [ | ||
{ | ||
@@ -66,3 +66,3 @@ "title": "five" | ||
"title": "no url", | ||
"children": [ | ||
"childNodes": [ | ||
{ | ||
@@ -84,4 +84,4 @@ "title": "parse to json", | ||
var parser = require('md-list-tree-parser') | ||
var content = $('#tree').text() | ||
var json = parser(content, 'content') | ||
var text = $('#tree').text() | ||
var json = parser(text, 'text') | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4677