detect-installer
v1.0.2
Published
Determine what package manager should be used
Readme
@umi-material/detect-installler
Determine what package manager should be used
Usage
yarn add detect-installerconst detect = require('detect-installer');
detect(__dirname); // ['tyarn',"yarn"]
// find you install package manger
detect(__dirname).find(detect.hasPackageCommand) // yarnLICENSE
MIT
