npminstall
npminstall copied to clipboard
any possible to disable spinners
Sometimes npminstall
is integrated into another library, and we don't want any outputs including spinners, traces, and details.
But spinner could not be disabled because of here
Is it ok to change the code to
options.spinner = options.spinner === null || options.spinner === false
// spinners are explicitly disabled by user
? null
: options.detail
? null
: ora();