ypp
v1.0.0
Published
Yolk's Pretty Print
Downloads
3
Maintainers
Readme
node-ypp
YOLK's Pretty Print for Node
Abstract
Returns JSON.stringify(object, null, 2);
I use this everywhere.
Installation
npm i --save ypp
Usage
var pp = require('ypp');
var a = {a:1,b:2,c:'apple'};
console.log(pp(a));
import pp from 'ypp';
const a = {a:1, b:2, c:'three'};
console.log(pp(a));