hp

has-pkg

Check if package is installed

Showing:

Popularity

Downloads/wk

4K

GitHub Stars

14

Maintenance

Last Commit

1mo ago

Contributors

0

Package

Dependencies

0

License

MIT

Type Definitions

Built-In

Tree-Shakeable

No?

Categories

Readme

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100