json-stringify-print

1.0.0 • Public • Published

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

/json-stringify-print/

    Package Sidebar

    Install

    npm i json-stringify-print

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • sgnh