Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zoubin/stringify-debug

wrapper for debug, stringify object
https://github.com/zoubin/stringify-debug

Last synced: 8 days ago
JSON representation

wrapper for debug, stringify object

Awesome Lists containing this project

README

        

# stringify-debug
wrapper for debug, stringify object

## Example

```javascript
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
```