# graphed

> Minimum graph's data structure implemented with pluggable stores (redis, dynamodb, memory, ...) and compatible with AWS Firehose

Latest version **1.0.20** (published 2021-02-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install graphed
pnpm add graphed
yarn add graphed
bun add graphed
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.20 |
| Published | 2021-02-11 |
| First published | 2019-11-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 194.9 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Felipe Rohde |
| Maintainers | feliperohde |

## Links

- npm: https://www.npmjs.com/package/graphed
- Repository: https://github.com/feliperohdee/graphed
- Homepage: https://github.com/feliperohdee/graphed#readme
- Issues: https://github.com/feliperohdee/graphed/issues
- npm.io page: https://npm.io/package/graphed

## Dependencies (6)

- [joi](https://npm.io/package/joi.md) ^17.3.0
- [rxjs](https://npm.io/package/rxjs.md) ^6.6.3
- [lodash](https://npm.io/package/lodash.md) ^4.17.20
- [aws-sdk](https://npm.io/package/aws-sdk.md) ^2.824.0
- [simple-beauty-error](https://npm.io/package/simple-beauty-error.md) ^1.0.1
- [rxjs-dynamodb-client](https://npm.io/package/rxjs-dynamodb-client.md) ^2.0.2

## Recent versions

- 1.0.20 (latest) — 2021-02-11
- 1.0.19 — 2021-02-11
- 1.0.18 — 2021-01-07
- 1.0.17 — 2020-08-12
- 1.0.16 — 2020-08-11
- 1.0.15 — 2020-03-06
- 1.0.14 — 2020-01-03
- 1.0.13 — 2020-01-03
- 1.0.12 — 2019-12-21
- 1.0.11 — 2019-12-16
- 1.0.10 — 2019-12-09
- 1.0.9 — 2019-12-09
- 1.0.8 — 2019-12-09
- 1.0.7 — 2019-12-08
- 1.0.6 — 2019-12-07
- … 6 more at https://npm.io/package/graphed/versions

## README

# Graphed

## API
		count({
			direction?: string
			entity? string,
			fromNode: string,
			max?: number,
			min?: number
		}): Observable<number>;

		delete({
			direction?: string
			entity? string,
			fromNode: string,
			toNode: string
		}): Observable<object>;

		deleteByNode({
			fromNode: string
		}): Observable<object>;

		allByNode({
			direction?: string
			entity? string,
			fromNode: string,
			toNode: string,
			noInverse?: boolean,
			onlyNodes?: boolean
		}): Observable<object>;

		closest({
			desc?: boolean,
			direction?: string
			distance?: [min?: number, max?: number], // with RedisStore
			entity? string,
			filter? string,
			fromNode: string,
			limit: [min?: number, max?: number]
		}): Observable<object>;

		link({
			absoluteDistance?: number,
			direction?: string
			distance?: number,
			entity? string,
			fromNode: string,
			toNode: string
		}): Observable<object>;

		traverse({
			concurrency?: number,
			jobs: Array<{
				absoluteDistance?: number,
				direction?: string
				distance?: number,
				entity? string,
				fromNode: string,
				toNode: string
			}>,
			maxEdges?: number,
			minEdges?: number,
			modEdges?: number,
			remoteClosest: function,
			remoteClosestIndex: number
		}): Observable<object>;

---
_Source: https://npm.io/package/graphed · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
