printable-json

1.0.0 • Public • Published

printable-json

Print JSON objects and arrays in a nice way (with colors).

Install

$ npm install printable-json

Example usage

var printable = require(printable-json)
 
var obj = { a: "A", b:{a2:"A2", b2: [1,{a3:"A3"},3,"4"], c2: {a3: "A3",b3: {a4: "A4"}}}, c: 143}
 
console.log(printable.toString(obj))

Output

alt text

Author

Abdulrahman Mufti

License

MIT

Package Sidebar

Install

npm i printable-json

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • aboodmufti