is-require-working

1.0.0 • Public • Published

is-require-working

Check if require() works.

Usage

let doesItWork;
try {
  doesItWork = require("is-require-working");
}
catch(e) {
  //o shit
}
console.log(doesItWork); //will be a string if it works

Common questions

  • Should I shoot myself?
    • Yes, DO IT NOW

License

GPLv2 because fuck you :^)

Package Sidebar

Install

npm i is-require-working

Weekly Downloads

0

Version

1.0.0

License

GPL-2.0-only

Unpacked Size

20.4 kB

Total Files

4

Last publish

Collaborators

  • motherphooker