caniuse-pnpm

Check if pnpm is available.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
caniuse-pnpm
2.0.03 years ago5 years agoMinified + gzip package size for caniuse-pnpm in KB

Readme

caniuse-pnpm
NPM npm npm npm type definitions pipeline status Check if pnpm is available.

Installation

```bash npm install caniuse-pnpm
or
yarn add caniuse-pnpm
or
pnpm install caniuse-pnpm ```

CLI

You can also install as global package to use CLI. ```bash npm install -g caniuse-pnpm
or
yarn global add caniuse-pnpm ``` ``` caniuse-pnpm Check if pnpm is available. Options: --help, -h Show help boolean --version, -v Show version number boolean ```

Usage

```js const caniusePNPM = require('caniuse-pnpm'); if (caniusePNPM()) {
console.log('pnpm is available. You can use pnpm.');
} else {
console.log('pnpm is not available! You cannot use pnpm.');
} ```

Related

  • has-pnpm - Check if a project is using pnpm.