caniuse-pnpm
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

caniuse-pnpm

NPM npm npm npm type definitions pipeline status

Check if pnpm is available.

Installation

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.

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

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

Readme

Keywords

Package Sidebar

Install

npm i caniuse-pnpm

Weekly Downloads

284

Version

2.0.0

License

MIT

Unpacked Size

5.43 kB

Total Files

7

Last publish

Collaborators

  • illuminator