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

treeize

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

treeize - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

2

package.json
{
"name": "treeize",
"version": "0.0.10",
"version": "0.0.11",
"description": "Converts tabular row data (as from SQL joins, flat JSON, etc) to deep tree graphs based on simple column naming conventions.",

@@ -5,0 +5,0 @@ "main": "./lib/treeize.js",

@@ -53,3 +53,3 @@ treeize

of movies (complete with a first entry) instead. For root nodes, include only
the attribute name without and preceding paths. If you were creating a final output of a
the attribute name without any preceding paths. If you were creating a final output of a
book collection for instance, the title of the book would likely be pathless as you would want the

@@ -66,7 +66,22 @@ value on the high-level collection `book` object.

{
"title": "Ender's Game", // creates the first object with a title attribute of "Ender's Game"
"author:name": "Orson Scott Card", // adds an author object (with name) to the book "Ender's Game" (created above)
"author:age": 21, // gives the author object an age attribute
"author:otherBooks:name": "Ender's Shadow", // adds a collection named "otherBooks" to the author, with a first object of "name": "Ender's Shadow"
"title": "Ender's Game", // creates the first object with a title attribute of "Ender's Game"
"author:name": "Orson Scott Card", // adds an author object (with name) to the book "Ender's Game" (created above)
"author:age": 21, // gives the author object an age attribute
"author:otherBooks:title": "Ender's Shadow", // adds a collection named "otherBooks" to the author, with a first object of "title": "Ender's Shadow"
}
// creates the following...
[
{
title: "Ender's Game",
author: {
name: "Orson Scott Card",
age: 21,
otherBooks: [
{ title: "Ender's Shadow" }
]
}
}
]
```

@@ -73,0 +88,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