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