四好公路
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
巴林闲侠 6f4dcd76d0 授权管理 3 years ago
..
LICENSE 授权管理 3 years ago
README.md 授权管理 3 years ago
index.js 授权管理 3 years ago
package.json 授权管理 3 years ago

README.md

which-pm-runs

Detects what package manager executes the process

npm version

Supports npm, pnpm, Yarn, cnpm. And also any other package manager that sets the npm_config_user_agent env variable.

Installation

pnpm add which-pm-runs

Usage

'use strict'
const whichPMRuns = require('which-pm-runs')

whichPMRuns()
//> {name: "pnpm", version: "0.64.2"}
  • which-pm - Detects what package manager was used for installation

License

MIT © Zoltan Kochan