Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "graphed", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Minimum graph's data structure implemented with pluggable stores (redis, dynamodb, memory, ...)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,5 +0,3 @@ | ||
[![CircleCI](https://circleci.com/gh/feliperohdee/smallorange-redis-edge-graph.svg?style=svg)](https://circleci.com/gh/feliperohdee/smallorange-graph) | ||
# Graphed | ||
# Small Orange Graph | ||
## Node API | ||
@@ -97,30 +95,2 @@ delete({ | ||
remoteClosestIndex: number | ||
}): Observable<object>; | ||
## Sample | ||
const Redis = require('smallorange-redis-client'); | ||
const { | ||
Edge, | ||
Node, | ||
RedisStore | ||
} = require('smallorange-graph'); | ||
class App { | ||
constructor() { | ||
const store = new RedisStore({ | ||
redis: new Redis({ | ||
connection: { | ||
port: 6380 | ||
} | ||
}) | ||
}); | ||
this.store = store; | ||
this.namespace = 'graph-1'; | ||
this.edge = new Edge({ | ||
namespace: 'graphName', | ||
node: this.node, | ||
store | ||
}); | ||
} | ||
} | ||
}): Observable<object>; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
162074
95