This module uses some kind of non-standard resolution strategy that makes the module-resolution fail if called from child_process.exec, { $ } from "zx", etc. Even when I'm able to dance around that, direct use of dirname in Node now throws an error.
So this module can only be resolved as a CLI. Fixing this would allow projects to script around this tool.
Alternatively, rather than fixing the module resolution strategy for the CLI, just exposing the core functions as an SDK for Node scripts would be equally helpful.