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

md-list-tree-parser

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

md-list-tree-parser - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

2

package.json
{
"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')
```
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