@viberails/graph
v0.6.14
Published
Import graph analysis and boundary checking for viberails
Readme
@viberails/graph
Import graph analysis and boundary checking for viberails. Builds the import graph of a JS/TS project, infers package boundaries, and detects boundary violations and circular dependencies.
Installation
npm install @viberails/graphUsage
import { buildGraph, checkBoundaries, inferBoundaries } from '@viberails/graph';
const graph = await buildGraph('./my-monorepo');
const violations = checkBoundaries(graph, boundaryRules);
const inferred = inferBoundaries(graph, workspaces);Documentation
See the main repository for full documentation.
License
MIT
