sidebyside
v1.0.6
Published
Print two objects side-by-side.
Downloads
3
Maintainers
Readme
Prints objects side-by-side.
install
npm install sidebyside --save
usage
const sbs = require('sidebyside');
let a = {
foo: {
bar: [0, 1, 2],
baz: 'fifteen'
},
b: 13,
c: 155,
d: {}
};
let b = {
a: 43,
b: [1, 2, 3],
c: {
a: 'bar'
}
};
sbs(a, b, 70);
prints
{ {
"foo": { "a": 43,
"bar": [ "b": [
0, 1,
1, 2,
2 3
], ],
"baz": "fifteen" "c": {
}, "a": "bar"
"b": 13, }
"c": 155, }
"d": {}
}
license
ISC