💥✅ Checks that a given module is able to be required without any errors occurring.
Checks that a given module is able to be required without any errors occurring.
npm install require-check -g
require-check <project-directory>
npx
npx require-check <project-directory>
The tool will attempt to:
This will ensure that the package being checked doesn't have any of the common runtime bugs like missing a package dependency, and that the package overall is require-able.