pretty-format2
v2.0.4
Published
Stringify any value. Better, faster, prettier.
Downloads
6,214
Readme
pretty-format2 [WIP]
Stringify any value. Better, faster, prettier.
Comparison of printing massive objects
JSON.stringify() - 5890349ns - 0.589034923s total (100 runs)
prettyFormat2() - 27983169ns - 2.79831686s total (100 runs)
prettyFormat() - 41300268ns - 4.130026818s total (100 runs)
util.inspect() - 58310463ns - 5.831046269s total (100 runs)