Skip to content

aboodmufti/printable-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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))

Example output

alt text

Author

Abdulrahman Mufti

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published