Package Exports
- has-pkg
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (has-pkg) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
has-pkg
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