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

graph2d

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graph2d - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "graph2d",
"version": "1.0.0",
"version": "1.0.1",
"description": "Efficient iterable graph data structure",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -12,6 +12,6 @@ # Graph2D

```
// EXAMPLE 1
const Graph2D = require("graph2d");
// EXAMPLE 1
const graph = new Graph2D();

@@ -26,3 +26,5 @@

// [ 'test 3 str', 'test 2 str', 'test 1 str', 'first str' ]
```
```
// EXAMPLE 2

@@ -48,3 +50,5 @@

// test 3
```
```
// EXAMPLE 3

@@ -93,7 +97,7 @@

```
graph2d.set(data)
graph2d.get(key), // optional key
graph2d.remove(),
graph2d.next
graph2d.prev
graphItem.set(data)
graphItem.get(key), // optional key
graphItem.remove(),
graphItem.next
graphItem.prev
```

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