cognitive-complexity-ts
Version:
This program analyses TypeScript and JavaScript code according to the [Cognitive Complexity metric](https://www.sonarsource.com/docs/CognitiveComplexity.pdf). It produces a JSON summary and a GUI for exploring the complexity of your codebase.
10 lines • 336 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.logNode = exports.testLog = void 0;
const util_1 = require("util");
exports.testLog = (0, util_1.debuglog)("test");
function logNode(child) {
(0, exports.testLog)(child.getFullText());
}
exports.logNode = logNode;
//# sourceMappingURL=debug.js.map