1.0.1 • Published 3 years ago

is-debugging v1.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
3 years ago

"Am I Debugging NodeJS?" in TypeScript

This package exports a single variable as the default export.

Use in TypeScript:

import isDebugging from "is-debugging";

if (isDebugging) {
    console.log("Currently debugging NodeJS.");
}

Use in JavaScript:

const isDebugging = require("is-debugging").default;

if (isDebugging) {
    console.log("Currently debugging NodeJS.");
}