zkochan / packages

Zoltan Kochan's npm packages
MIT License
99 stars 26 forks source link

how to get to know `process.env.npm_config_user_agent` ? #170

Open zhangzhuang15 opened 1 year ago

zhangzhuang15 commented 1 year ago

Before I read the codes, I feel it's difficult to make sure which package manager used by Process.Your codes inspire me, but I am still confused. How do you know we can find out the package manager through process.env.npm_config_user_agent ? Read the documents from Nodejs website ? I am really appreciated any answers about that.