1.0.0 • Published 7 years ago

json-stringify-print v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

json-stringify-print

Print an object to the console as formatted JSON.

Install

npm install --save json-stringify-print

Usage

const jsonStringifyPrint = require('json-stringify-print'); 
const printMe = {
  hello: 'World!',
};

jsonStringifyPrint(printMe);

Outputs:

{
  "hello": "World!"
}

License

MIT © Steffen Hansen