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

performant-array-to-tree

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

performant-array-to-tree - npm Package Compare versions

Comparing version 1.9.0 to 1.9.1

4

build/arrayToTree.d.ts
export interface Item {
id?: string | number;
parentId?: string | number | null;
[key: string]: any;
}
export interface TreeItem {
id?: string | number;
parentId?: string | number | null;
[key: string]: Item | TreeItem[] | any;

@@ -10,0 +6,0 @@ }

2

package.json
{
"name": "performant-array-to-tree",
"version": "1.9.0",
"version": "1.9.1",
"description": "Converts an array of items with ids and parent ids to a nested tree in a performant `O(n)` way. Runs in browsers and node.",

@@ -5,0 +5,0 @@ "keywords": [

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