vovacodes / find-duplicate-dependencies

Find duplicate dependencies in your node_modules. Useful when use npm as a package manager for front-end.
https://www.npmjs.com/package/find-duplicate-dependencies
34 stars 4 forks source link

find-duplicate-dependencies uses color even when NO_COLOR=true #10

Open jdmarshall opened 1 year ago

jdmarshall commented 1 year ago

The inspect call is forcing color: true which is resulting in output that I can't inspect in a text editor, even if I set NO_COLOR=true, mostly negating the value of requiring 'picocolors'

jdmarshall commented 1 year ago

it appears that picocolors exposes a boolean for the color status. Should be able to wire this up to inspect()