A debugging tool


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

Documentation

banner

render javascript object to string in terminal

version language manager npm last update github last commit github commits node version github repo size github code size

Features

  • Enhancement to native JSON.stringify() & console.table().
  • Stringify + colorify(by ansi)(@spare/decoPale & decoPale-modules)
  • Recognizable tags for logging(@spare/xr).
  • Utility toolset: full angles transformation, ansi-coded string length, etc.

Install

$ npm install @spare/<tool-name>

Tools

logger Console log with prettier format v
says Console log with head mark v
xr Sentenced log content builder v
deco Stringify any object with color highlight v
deco-flat Stringify and flatten v
deco-func Stringify function v
deco-pale Stringify without color v
deco-vector Stringify array(vector) with color highlight v
deco-matrix Stringify 2d-array(matrix) with color highlight v
deco-object Stringify object with color highlight v
deco-entries Stringify entries with color highlight v
deco-samples Stringify samples with color highlight v
deco-table Stringify table with color highlight v
deco-crostab Stringify crostab with color highlight v
verse Stringify, ready to write to js or json file v

License

MIT