rev-dep

(β˜… 252)

Dependency analysis and optimization toolkit for modern JavaScript and TypeScript codebases. Enforce dependency graph hygiene and remove unused code with a very fast CLI.

  • .gitignore
  • cli-telemetry.env.example
  • demo.png
  • go.mod
  • go.sum
  • InternalReadme.md
  • LICENSE
  • logo.png
  • logo.svg
  • PERFORMANCE.md
  • README.md

# Installation Guide

1. Get the code
git clone https://github.com/jayu/rev-dep

Downloads the entire project code from GitHub to your computer.

cd rev-dep

Moves into the project folder you just downloaded.

2. Official Install Script

Easy Recommended
Prerequisites
  • Node.js Node.js must be installed to use npm.
npm install -g rev-dep

Installs the package published on the npm registry globally β€” no need to clone the source.

βœ… After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.

Pulled directly from this repo's README.

3. Node.js

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Node.js Node.js must be installed to use npm. The LTS version is recommended.
yarn add -D rev-dep

Type this command into your terminal and run it.

npm install -D rev-dep

Downloads and installs the libraries listed in package.json.

pnpm add -D rev-dep

Type this command into your terminal and run it.

yarn global add rev-dep

Type this command into your terminal and run it.

npm install -g rev-dep

Installs the package published on the npm registry globally β€” no need to clone the source.

βœ… After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.

Pulled directly from this repo's README.

4. Go

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Go The Go compiler and toolchain.
go build ./...

Compiles the Go program into an executable.

go run .

Runs the Go program directly without a separate build step.

βœ… If the build finishes without errors, it worked. If you used go run ., check the terminal output.
// repository documentation