detect-package-manager

Detect which package manager you're using (yarn or npm)

Browse on unpkg