Thursday, 26 July 2018

npm list --depth=0

I have a weird issue,Im doing npm list from my file which is being run by script. Long story short:let coreList = execSync('npm list --depth=0 --prefix core', { encoding: 'utf-8' }); Now on my linux env im getting this bullshit art " ├── " while on windows +--; I havent tested on macos and im guessing another poop there too:)now obv im doing some string modifications and parsing to make later on string into object and so on.. But wonderingIs there some npm list --nofuckingart function?Thanks:)

Submitted July 26, 2018 at 06:40PM by ProblemSolver7

No comments:

Post a Comment