Craft beautiful browser console messages. Debug & inspect data with elegant outputs. Small & tree-shakable.
MIT License
Bot releases are visible (Hide)
options.keys
for filtering object keys da551a4options.wrap
to it when options.wrap
is auto
b3156beconsoleInspect()
, no longer sort keys b4326b2https://github.com/astoilkov/console-powers/compare/v0.7.0...v0.8.0
consoleInspect()
add Map support def4fd2Set
output dd9bb0aconsoleInspect()
multi-line object keys to use highlight color (as DevTools) 03bf901consoleInspect(string)
to show as normal text (as DevTools) 82bb286consoleTable()
, rename options.lineLength
→ options.wrap
876188coptions.line
property 2460027consoleInspect()
apply bigger line-height only for non-primitive types 0cc0bdchttps://github.com/astoilkov/console-powers/compare/v0.6.0...v0.7.0
options.wrap
property that's more powerful with auto
, single-line
, multi-line
or number
(for switching to multi-line at the specified length) 4a964b2options.lineLength
is now removed in favor of options.wrap
4a964b2consoleTable()
cell padding is incorrectly +1 space on the right 88d9b92consoleTable()
last column doesn't have a left border 7a3743eConsoleObject
to possible types in consoleGroup({ header })
option 9334997https://github.com/astoilkov/console-powers/compare/v0.5.0...v0.6.0
expandDepth
→ depth
(breaking change) aa8b68clineLength
property (experimental) efba75fprint: boolean
option to consoleInspect()
and consoleTable()
methods bbdc981theme
option dc512c4https://github.com/astoilkov/console-powers/compare/v0.4.0...v0.5.0
consoleTable()
, add support for array of objects 59dc76cconsoleTable()
, improve flat objects and arrays styling 883706dConsoleMessage
→ ConsoleSpan
047c8daconsoleTable()
, make header text bold 119632dundefined
to be passed to ConsoleStyle d6511d6https://github.com/astoilkov/console-powers/compare/v0.3.0...v0.4.0
consoleLine()
→ consoleFlush()
81d8658consoleOrderedList()
69078fchttps://github.com/astoilkov/console-powers/compare/v0.2.2...v0.3.0
For 9 years, I didn't push a single commit to this repo. I recently fell in love with the idea once again and rewrote the entire library.
https://github.com/astoilkov/console-powers/compare/v0.2.1...v0.2.2
For 9 years, I didn't push a single commit to this repo. I recently fell in love with the idea once again and rewrote the entire library.
https://github.com/astoilkov/console-powers/compare/v0.2.0...v0.2.1
For 9 years, I didn't push a single commit to this repo. I recently fell in love with the idea once again and rewrote the entire library.
https://github.com/astoilkov/console-powers/compare/0.1.0...v0.2.0
Published by astoilkov over 9 years ago