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

The 'enumerable' flag, which is specifically designed to squelch serialization of internal properties, is not respected in object output. ``` js const prettyjson = require('prettyjson') let data = { foo:...

works fine on my system but no effect on production server

E.g. like this: ``` username: rafeca url: https://github.com/rafeca twitter_account: https://twitter.com/rafeca projects: - prettyprint - connfu ```

Hi there, Why is it that all of the sudden the colors are gone in the terminal printing from my nodejs app? Anyone experiencing this?

This is a really nice plugin. I was having some difficulty with regex expressions. I have a regular expression in my JSON output. The plugin seems to be breaking out...

So I can see my yaml files with color ```bash cat myfile.yaml | prettyjson ```

Hi, I need to customize boolean colors, `true` and `false` independently Because `red` color is important for my log, and `false` uses that color. That's why I need this feature...

I try to print out large responses from an API pretty to the console. When using `console.log(prettyjson.render(body))` I will get the normal output. When I save the response to a...

For certain large objects, such as a Superagent response, prettyjson produces the following error message: "RangeError: Maximum call stack size exceeded". I tried looking through the available options, but I...

So for example could I do something like: ``` var file = fs.createReadStream('dogs.json'); file.pipe(prettyjson.render).pipe(response); ```