Skip to content

ArcherGu/check-package-exists

Repository files navigation

✅ Check Package Exists

npm npm GitHub Workflow Status

Check if the npm package exists.

⚙️ Install

npm i check-package-exists
# Or Yarn
yarn add check-package-exists
# Or PNPM
pnpm add check-package-exists

📖 Usage

import { checkPackageExists } from 'check-package-exists'

console.log(checkPackageExists('some-package')) // true or false

📄 License

MIT License © 2022 Archer Gu