Socket
Socket
Sign inDemoInstall

graphed

Package Overview
Dependencies
51
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    graphed

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


Version published
Maintainers
1
Created

Readme

Source

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>;

FAQs

Last updated on 11 Feb 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc