VisCommandsvis optimize

vis optimize

Analyze and optimize dependencies using e18e replacements and @socketregistry overrides

vis optimize

Two-phase dependency optimization with an interactive TUI. Phase 1 surfaces packages replaceable with native builtins or lighter alternatives (via e18e module-replacements) and runs codemods on selected entries. Phase 2 writes overrides / resolutions for packages that have security-hardened @socketregistry alternatives.

In TTY mode it presents a picker; in non-TTY (CI) it prints a static report.

Usage

vis optimize [options]

Examples

vis optimize                  # interactive TUI
vis optimize --dry-run        # preview only
vis optimize --pin            # pin Socket overrides to exact versions
vis optimize --prod           # only optimize production deps

Options

OptionAliasDefaultDescription
--dry-run-dfalsePreview available optimizations without applying
--pinfalsePin Socket.dev overrides to exact versions
--prodfalseOnly optimize production dependencies
--no-installfalseSkip running install after applying overrides
--formattableOutput format: table or json
Support

Contribute to our work and keep us going

Community is the heart of open source. The success of our packages wouldn't be possible without the incredible contributions of users, testers, and developers who collaborate with us every day.Want to get involved? Here are some tips on how you can make a meaningful impact on our open source projects.

Ready to help us out?

Be sure to check out the package's contribution guidelines first. They'll walk you through the process on how to properly submit an issue or pull request to our repositories.

Submit a pull request

Found something to improve? Fork the repo, make your changes, and open a PR. We review every contribution and provide feedback to help you get merged.

Good first issues

Simple issues suited for people new to open source development, and often a good place to start working on a package.
View good first issues