UNPKG

is-require-working

Version:
23 lines (18 loc) 324 B
# is-require-working Check if require() works. ## Usage ```js 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 :^)