detect-installer
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i detect-installer

Weekly Downloads

8,095

Version

1.0.2

License

MIT

Unpacked Size

4.46 kB

Total Files

5

Last publish

Collaborators

  • chenshuai2144