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.7 to 0.0.8

2

package.json
{
"name": "treeize",
"version": "0.0.7",
"version": "0.0.8",
"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",

@@ -16,3 +16,3 @@ treeize

- `treeize.getOptions()` - returns global options for the lib.
- `treeize.setOptions(options)` - sets global options for the lib. For example, to use a path delimiter of '>' instead of '+', call `treeize.setOptions({ delimiter: '>' })`
- `treeize.setOptions(options)` - sets global options for the lib. For example, to use a path delimiter of '>' instead of ':', call `treeize.setOptions({ delimiter: '>' })`

@@ -24,3 +24,3 @@ ### Notes

- To imply a collection in the path/attribute-name, use a plural name (e.g. "subjects" instead of "subject"). Otherwise, use a singular name for a singular object.
- Use a `+` delimiter (default) to seperate path nodes. To change this, use the `treeize.set([options])` function.
- Use a `:` delimiter (default) to seperate path nodes. To change this, use the `treeize.set([options])` function.

@@ -43,4 +43,4 @@ ### Assumptions

"age": 12,
"toys+name": "mouse",
"toys+owner+name": "Mittens"
"toys:name": "mouse",
"toys:owner:name": "Mittens"
},

@@ -50,4 +50,4 @@ {

"age": 12,
"toys+name": "yarn",
"toys+owner+name": "Ms. Threadz"
"toys:name": "yarn",
"toys:owner:name": "Ms. Threadz"
},

@@ -57,4 +57,4 @@ {

"age": 7,
"toys+name": "a stick",
"toys+owner+name": "Mother Nature"
"toys:name": "a stick",
"toys:owner:name": "Mother Nature"
}

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