@snyk/dep-graph
Version:
Snyk dependency graph library
8 lines (7 loc) • 348 B
TypeScript
import { DepGraph, DepGraphData } from './types';
export declare const SUPPORTED_SCHEMA_RANGE = "^1.0.0";
/**
* Create a DepGraph instance from a JSON representation of a dep graph. This
* is typically used after passing the graph over the wire as `DepGraphData`.
*/
export declare function createFromJSON(depGraphData: DepGraphData): DepGraph;