Find out which package manager ran a NodeJS script?
npm install which-pm-es
JavaScriptimport whichPm from 'which-pm-es'console.log(whichPm);