has-pkg
v0.0.1
Published
Check if package is installed
Readme
has-pkg
Check if a package is installed locally.
import hasPkg from 'has-pkg'
hasPkg('lodash') // true
hasPkg('@types/lodash') // falseSponsors
This project is part of my Sponsor Program
License
MIT License © 2020-PRESENT Anthony Fu
