UNPKG

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.

23 lines (18 loc) 340 B
.copytext-button { height: 1rem; margin: 0 var(--half-spacing); padding: 0; width: 1rem; background: none; border: none; } .copytext-button:active:hover { --text-color: var(--interactive-color); } .copytext-button:hover { cursor: copy; } .hidden-off-screen { left: -9999px; position: absolute; }