A debugging tool


Keywords
test, console, debug, print
License
MIT
Install
npm install @spare/string@0.14.3

Documentation

@spare

🐡 A stringify tool to js objects

github commit last github commit total

Features

  • Alternative to native JSON.stringify() & console.table().
  • Stringify + colorify(by ansi)(@spare/decoPale & decoPale-modules)
  • Build recognizable tags for logging(@spare/xr).
  • Utility toolset: full angles transformation, ansi-coded string length, etc.
  • Color, margin configurable.
  • ES2015 syntax

Install

$ npm install @spare/<tool-name>

Tools

logger console.log with prettier format
xr Sentenced log content builder
verse Stringify, ready to write to js or json file
deco-vector Stringify array(vector) with color highlight
deco-matrix Stringify 2d-array(matrix) with color highlight
deco-object Stringify object with color highlight
deco-entries Stringify entries with color highlight
deco-samples Stringify samples with color highlight
deco-table Stringify table with color highlight
deco-crostab Stringify crostab with color highlight

License

MIT