node.js util.inspect in a single module, and cross-browser (IE6+)
JavaScript
Latest commit aec0fab May 24, 2016 @TooTallNate TooTallNate Merge pull request #5 from LinusU/patch-1
Add repository field to package.json
Failed to load latest commit information.
.gitignore
History.md
Readme.md readme: license Feb 14, 2014
index.js index: default the property descriptor to an `undefined` value Feb 18, 2014
package.json

Readme.md

util-inspect

This is an extraction of Node's inspect utility from the util module, with two fundamental advantages:

  • Single, focused module
  • Compatible with all browsers and environments.

How to use

With browserify or node:

var inspect = require('util-inspect');
console.log(inspect({}));

License

MIT – Copyright (c) 2010-2014 Joyent, Inc.