require-check

1.0.5 • Public • Published

node-require-check

semantic release coverage npm version

Checks that a given module is able to be required without any errors occurring.

Install

npm install require-check -g
require-check <project-directory>

Use directly via npx

npx require-check <project-directory>

How

The tool will attempt to:

  1. Install all the npm dependencies in a tmp directory
  2. Require the module installed

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.

Readme

Keywords

none

Package Sidebar

Install

npm i require-check

Weekly Downloads

1

Version

1.0.5

License

ISC

Unpacked Size

3.64 kB

Total Files

4

Last publish

Collaborators

  • reggi