lc

1.0.1 • Public • Published

lc

"Lemme see" (lc) object inspector. Displays hierarchical listing of an object. Requires Node 4.0 or later.

Build Status

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

Readme

Keywords

none

Package Sidebar

Install

npm i lc

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • iefserge