prettyjson icon indicating copy to clipboard operation
prettyjson copied to clipboard

Package for formatting JSON data in a coloured YAML-style, perfect for CLI output

Results 22 prettyjson issues
Sort by recently updated
recently updated
newest added

Hello, thank you so much for this awesome library! It would be helpful to allow passing a function like: ``` valueFormatter: (value) => { if (typeof value === 'string') {...

Bumps [debug](https://github.com/debug-js/debug) to 4.3.4 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together. Updates `debug` from 2.6.8 to 4.3.4 Release notes Sourced from debug's releases. 4.3.4 What's...

dependencies

Bumps [qs](https://github.com/ljharb/qs) from 6.3.2 to 6.3.3. Changelog Sourced from qs's changelog. 6.3.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] fix for an impossible situation: when the formatter is called with...

dependencies

Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.0.8. Commits 782c264 3.0.8 6ade2da fix: trim pattern a6f52b0 3.0.7 e4cd434 fix: treat nocase:true as always having magic e6bbe1c publishConfig for 3.0 5b7cd33 3.0.6 20b4b56...

dependencies

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

A short-term fix to lock prettyjson to a non-corrupt version of colors.js was shipped in #54 :tada: Great work! *Open Question:* What's the longterm plan? I use `prettyjson`/`colors` only as...

This PR migrates prettyjson from `colors` to [`chalk`](https://github.com/chalk/chalk) - Related: #57 #54 This **breaks** support for the following "colors": - rainbow - zebra - america - trap - random -...

Issue - "Keys" and "Values" are not aligned for longer "Values" Example - "description" section below. The indentation of value is not correct as in below response- [Pretty_Json_Key_Value_Alignment_Issue.txt](https://github.com/rafeca/prettyjson/files/3763463/Pretty_Json_Key_Value_Alignment_Issue.txt) "notices": [...

**When I try to do it from cli** `Error: File 'messages.json' does not exist` **When I try to do it from node** ``` directory/node_modules/prettyjson/lib/prettyjson.js:167 output.push.apply( ^ RangeError: Maximum call stack...

It would be great to add CLI option to output to file instead of stdout. Something similar to [-O in wget](http://www.gnu.org/software/wget/manual/html_node/Download-Options.html#Download-Options) to run it like `prettyjson package.json -O pretty-package.yaml` instead...