Skip to content

node.js util.inspect in a single module, and cross-browser (IE6+)

Notifications You must be signed in to change notification settings

Automattic/util-inspect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

node.js util.inspect in a single module, and cross-browser (IE6+)

Resources

Stars

Watchers

Forks

Packages

No packages published