chenshuai2144 / detect-installer

Determine what package manager should be used

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@umi-material/detect-installler

Determine what package manager should be used

Usage

yarn add detect-installer
const detect = require('detect-installer');
detect(__dirname); // ['tyarn',"yarn"]

// find you install package manger
detect(__dirname).find(detect.hasPackageCommand) // yarn

LICENSE

MIT

About

Determine what package manager should be used

License:MIT License


Languages

Language:TypeScript 72.6%Language:JavaScript 27.4%