lihai 8d6c751f49 feat: push | лет назад: 2 | |
---|---|---|
.. | ||
LICENSE | лет назад: 2 | |
README.md | лет назад: 2 | |
index.js | лет назад: 2 | |
package.json | лет назад: 2 |
Detects what package manager executes the process
Supports npm, pnpm, Yarn, cnpm. And also any other package manager that sets the npm_config_user_agent
env variable.
pnpm add which-pm-runs
'use strict'
const whichPMRuns = require('which-pm-runs')
whichPMRuns()
//> {name: "pnpm", version: "0.64.2"}