lc
v1.0.1
Published
"Lemme see" (lc) JavaScript object inspector
Downloads
8
Readme
lc
"Lemme see" (lc) object inspector. Displays hierarchical listing of an object. Requires Node 4.0 or later.
Installation
npm install lc
Usage
const lc = require('lc');
const obj = {
key: 'value',
array: [1, 2, 3],
other: {
boolean: true,
number: 10,
string: 'hello world',
date: new Date(Date.UTC(2005, 2, 23)),
regexp: /[A-Za-z0-9]+/g,
error: new TypeError('type error message'),
null: null,
void: void 0,
arrayBuffer: new ArrayBuffer(10),
u8: new Uint8Array([1, 2, 3])
}
};
lc(obj);
License
MIT