├── .editorconfig ├── .gitattributes ├── .github └── workflows │ └── main.yml ├── .gitignore ├── .npmrc ├── LICENSE ├── README.md ├── global.ts ├── img ├── dark │ ├── inspect.png │ ├── print.png │ └── table.png └── light │ ├── inspect.png │ ├── print.png │ └── table.png ├── index.ts ├── package.json ├── playground ├── examples.ts ├── fixtures │ └── slicedownResult.ts ├── index.html ├── playground.ts └── vite.config.ts ├── src ├── core │ ├── ConsoleSpan.ts │ ├── ConsoleStyle.ts │ ├── consoleApply.ts │ ├── consoleCalls.ts │ ├── consoleFlush.ts │ ├── consoleGroup.ts │ ├── consoleObject.ts │ ├── consolePrint.ts │ └── consoleText.ts ├── extras │ ├── consoleOrderedList.ts │ ├── consoleQuote.ts │ └── consoleUnorderedList.ts ├── global │ ├── addNoopToGlobalScope.ts │ ├── addToGlobalScope.ts │ └── typings.d.ts ├── inspect │ ├── consoleInspect.ts │ ├── ii.ts │ ├── inspectors │ │ ├── inspectAny.ts │ │ ├── inspectInline.ts │ │ ├── inspectIterable.ts │ │ ├── inspectObject.ts │ │ └── inspectPrimitive.ts │ ├── tt.ts │ └── utils │ │ ├── ConsoleInspection.ts │ │ └── consoleStyles.ts ├── table │ ├── CellBorder.ts │ ├── arrayOfObjectsTable.ts │ ├── calcColumnsSize.ts │ ├── consoleTable.ts │ ├── consoleTableCell.ts │ ├── consoleTableRow.ts │ ├── createTableCell.ts │ └── flatObjectOrArrayTable.ts └── utils │ ├── builtInConsole.ts │ ├── ensureConsoleText.ts │ ├── guessAvailableLength.ts │ ├── guessDevToolsWidth.ts │ ├── hasOnlyPrimitives.ts │ ├── indent.ts │ ├── isIterable.ts │ ├── isPrimitive.ts │ ├── keys.ts │ ├── savedAvailableLengthGuess.ts │ ├── spansLength.ts │ ├── stringExcerpt.ts │ └── toFlatSpans.ts ├── test.ts ├── tsconfig.json └── vitest.config.ts /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/.npmrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/README.md -------------------------------------------------------------------------------- /global.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/global.ts -------------------------------------------------------------------------------- /img/dark/inspect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/img/dark/inspect.png -------------------------------------------------------------------------------- /img/dark/print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/img/dark/print.png -------------------------------------------------------------------------------- /img/dark/table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/img/dark/table.png -------------------------------------------------------------------------------- /img/light/inspect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/img/light/inspect.png -------------------------------------------------------------------------------- /img/light/print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/img/light/print.png -------------------------------------------------------------------------------- /img/light/table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/img/light/table.png -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/index.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/package.json -------------------------------------------------------------------------------- /playground/examples.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/playground/examples.ts -------------------------------------------------------------------------------- /playground/fixtures/slicedownResult.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/playground/fixtures/slicedownResult.ts -------------------------------------------------------------------------------- /playground/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/playground/index.html -------------------------------------------------------------------------------- /playground/playground.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/playground/playground.ts -------------------------------------------------------------------------------- /playground/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/playground/vite.config.ts -------------------------------------------------------------------------------- /src/core/ConsoleSpan.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/core/ConsoleSpan.ts -------------------------------------------------------------------------------- /src/core/ConsoleStyle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/core/ConsoleStyle.ts -------------------------------------------------------------------------------- /src/core/consoleApply.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/core/consoleApply.ts -------------------------------------------------------------------------------- /src/core/consoleCalls.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/core/consoleCalls.ts -------------------------------------------------------------------------------- /src/core/consoleFlush.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/core/consoleFlush.ts -------------------------------------------------------------------------------- /src/core/consoleGroup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/core/consoleGroup.ts -------------------------------------------------------------------------------- /src/core/consoleObject.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/core/consoleObject.ts -------------------------------------------------------------------------------- /src/core/consolePrint.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/core/consolePrint.ts -------------------------------------------------------------------------------- /src/core/consoleText.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/core/consoleText.ts -------------------------------------------------------------------------------- /src/extras/consoleOrderedList.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/extras/consoleOrderedList.ts -------------------------------------------------------------------------------- /src/extras/consoleQuote.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/extras/consoleQuote.ts -------------------------------------------------------------------------------- /src/extras/consoleUnorderedList.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/extras/consoleUnorderedList.ts -------------------------------------------------------------------------------- /src/global/addNoopToGlobalScope.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/global/addNoopToGlobalScope.ts -------------------------------------------------------------------------------- /src/global/addToGlobalScope.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/global/addToGlobalScope.ts -------------------------------------------------------------------------------- /src/global/typings.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/global/typings.d.ts -------------------------------------------------------------------------------- /src/inspect/consoleInspect.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/inspect/consoleInspect.ts -------------------------------------------------------------------------------- /src/inspect/ii.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/inspect/ii.ts -------------------------------------------------------------------------------- /src/inspect/inspectors/inspectAny.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/inspect/inspectors/inspectAny.ts -------------------------------------------------------------------------------- /src/inspect/inspectors/inspectInline.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/inspect/inspectors/inspectInline.ts -------------------------------------------------------------------------------- /src/inspect/inspectors/inspectIterable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/inspect/inspectors/inspectIterable.ts -------------------------------------------------------------------------------- /src/inspect/inspectors/inspectObject.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/inspect/inspectors/inspectObject.ts -------------------------------------------------------------------------------- /src/inspect/inspectors/inspectPrimitive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/inspect/inspectors/inspectPrimitive.ts -------------------------------------------------------------------------------- /src/inspect/tt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/inspect/tt.ts -------------------------------------------------------------------------------- /src/inspect/utils/ConsoleInspection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/inspect/utils/ConsoleInspection.ts -------------------------------------------------------------------------------- /src/inspect/utils/consoleStyles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/inspect/utils/consoleStyles.ts -------------------------------------------------------------------------------- /src/table/CellBorder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/table/CellBorder.ts -------------------------------------------------------------------------------- /src/table/arrayOfObjectsTable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/table/arrayOfObjectsTable.ts -------------------------------------------------------------------------------- /src/table/calcColumnsSize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/table/calcColumnsSize.ts -------------------------------------------------------------------------------- /src/table/consoleTable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/table/consoleTable.ts -------------------------------------------------------------------------------- /src/table/consoleTableCell.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/table/consoleTableCell.ts -------------------------------------------------------------------------------- /src/table/consoleTableRow.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/table/consoleTableRow.ts -------------------------------------------------------------------------------- /src/table/createTableCell.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/table/createTableCell.ts -------------------------------------------------------------------------------- /src/table/flatObjectOrArrayTable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/table/flatObjectOrArrayTable.ts -------------------------------------------------------------------------------- /src/utils/builtInConsole.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/utils/builtInConsole.ts -------------------------------------------------------------------------------- /src/utils/ensureConsoleText.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/utils/ensureConsoleText.ts -------------------------------------------------------------------------------- /src/utils/guessAvailableLength.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/utils/guessAvailableLength.ts -------------------------------------------------------------------------------- /src/utils/guessDevToolsWidth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/utils/guessDevToolsWidth.ts -------------------------------------------------------------------------------- /src/utils/hasOnlyPrimitives.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/utils/hasOnlyPrimitives.ts -------------------------------------------------------------------------------- /src/utils/indent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/utils/indent.ts -------------------------------------------------------------------------------- /src/utils/isIterable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/utils/isIterable.ts -------------------------------------------------------------------------------- /src/utils/isPrimitive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/utils/isPrimitive.ts -------------------------------------------------------------------------------- /src/utils/keys.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/utils/keys.ts -------------------------------------------------------------------------------- /src/utils/savedAvailableLengthGuess.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/utils/savedAvailableLengthGuess.ts -------------------------------------------------------------------------------- /src/utils/spansLength.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/utils/spansLength.ts -------------------------------------------------------------------------------- /src/utils/stringExcerpt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/utils/stringExcerpt.ts -------------------------------------------------------------------------------- /src/utils/toFlatSpans.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/src/utils/toFlatSpans.ts -------------------------------------------------------------------------------- /test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/astoilkov/console-powers/HEAD/vitest.config.ts --------------------------------------------------------------------------------