1.0.1 • Published 8 years ago

lc v1.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
8 years ago

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);

npm.io

License

MIT

1.0.1

8 years ago

1.0.0

8 years ago

0.0.0

8 years ago