Skip to content

zoubin/stringify-debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stringify-debug

wrapper for debug, stringify object

Example

var debug = require('..')('debug:object');

debug('input', undefined, true, null, 1, { x:1, y:2, z:[3,4], w:{ a:5, b:6 } }, f)

function f() {
}

output:

⌘ DEBUG=* node example/stdout.js
  debug:object input +0ms undefined true null 1 {"x":1,"y":2,"z":[3,4],"w":{"a":5,"b":6}} [function]f

About

wrapper for debug, stringify object

Resources

Stars

Watchers

Forks

Packages

No packages published