Colored stringify date


Keywords
deco, pretty, stringify, function, parameters, args
License
MIT
Install
npm install @spare/deco-func@0.11.0

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