has-pkg
Check if package is installed
Last updated 5 years ago by antfu .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install has-pkg 
SYNC missed versions from official npm registry.

has-pkg

NPM version

Check if a package is installed locally.

import hasPkg from 'has-pkg'

hasPkg('lodash') // true
hasPkg('@types/lodash') // false

Sponsors

This project is part of my Sponsor Program

License

MIT License © 2020-PRESENT Anthony Fu

Current Tags

  • 0.0.1                                ...           latest (5 years ago)

1 Versions

  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (0)
None

Copyright 2013 - present © cnpmjs.org | Home |