@spare
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 |
decoPale | Stringify + colorant things |
verse | Stringify, ready to write to js or json file |
decoPale-vector | Stringify array(vector) with color highlight |
decoPale-matrix | Stringify 2d-array(matrix) with color highlight |
decoPale-object | Stringify object with color highlight |
decoPale-entries | Stringify entries with color highlight |
decoPale-samples | Stringify samples with color highlight |
decoPale-table | Stringify table with color highlight |
decoPale-crostab | Stringify crostab with color highlight |
verse | ES6 style JSON.stringify alternative |
lange | Get string length concerning ansi-code |
quote | Add parenthesis/quote/brace/angle-quote |
phrasing | Convert among snake/kebab/camel/pascal phrasings |
liner | Join array of string |
string | String helpers |