Skip to content

Repository files navigation

hooktree

English · 中文

Print the install-lifecycle script tree from a lockfile before you install.

Most auditors dump a flat list. hooktree shows only packages that would run preinstall / install / postinstall / prepare.

Quick start

node --import tsx src/cli.ts .
node dist/cli.js .

Commands

hooktree [dir]
hooktree [dir] --json
hooktree [dir] --strict

Node 20+. Reads package-lock.json v2/v3. No network.

License

MIT

About

Print the install-lifecycle script tree from a lockfile before you install.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages