which-pm-es
v0.1.1
Published
Find out which package manager ran a NodeJS script?
Downloads
10
Readme
Identify which PackageManager is being used
It has a very simple ESModule based API. Supports pnpm, npm, yarn
Usage
import whichPm from 'which-pm-es'
console.log(whichPm);