Vanha frontend siirretty temp/. Uusi rakenne: - StatusBar.astro, Terminal.astro, Editor.astro, Guide.astro - global.css erillinen - Wasm pääsäikeessä (ei Worker — yksinkertainen, debugattava) - Tab-completion, dropdown, projektikortti, Monaco, GUIDE.md - Ei tokenisointia eikä koodilaboratoriota Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
32 lines
685 B
Markdown
32 lines
685 B
Markdown
# which-pm-runs
|
|
|
|
> Detects what package manager executes the process
|
|
|
|
[](https://www.npmjs.com/package/which-pm-runs)
|
|
|
|
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
|
|
|
|
```js
|
|
'use strict'
|
|
const whichPMRuns = require('which-pm-runs')
|
|
|
|
whichPMRuns()
|
|
//> {name: "pnpm", version: "0.64.2"}
|
|
```
|
|
|
|
## Related
|
|
|
|
* [which-pm](https://github.com/zkochan/packages/tree/main/which-pm) - Detects what package manager was used for installation
|
|
|
|
## License
|
|
|
|
[MIT](LICENSE) © [Zoltan Kochan](http://kochan.io)
|