orphanode 0.1.0

Accuracy-first reachability analysis for JavaScript and TypeScript projects, as a library and a CLI
Documentation

OrphaNode

OrphaNode is accuracy-first reachability analysis for JavaScript and TypeScript projects: find the code that nothing can reach anymore, with evidence.

The orphanode crate ships both the native CLI and the Rust analysis library it is built on.

Install the CLI

cargo install orphanode
cd my-project
orphanode scan

It supports automatic project discovery, exact caller-supplied file universes, human/JSON/SARIF output, explanations, configuration checks, cache management, and explicitly selected safe-fix previews.

See the complete command guide for every option and example. The command-line binary is also distributed through npm (npm install -g orphanode) with prebuilt binaries for common platforms.

Use it as a library

use orphanode::{ProjectScanRequest, scan_project};

let request = ProjectScanRequest::new("/path/to/project");
let report = scan_project(&request)?;

It provides automatic project discovery and exact-universe APIs for reachability analysis. Results include evidence and explicit coverage diagnostics; incomplete analysis never becomes unsafe cleanup advice. API documentation is available on docs.rs. Architecture and contributor guidance are in the repository's DEVELOPMENT.md.

Licensed under either the Apache License 2.0 or MIT License, at your option.