Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zoubin/stringify-debug
- Owner: zoubin
- Created: 2015-06-11T07:39:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-12T05:49:32.000Z (over 9 years ago)
- Last Synced: 2024-10-13T10:38:06.650Z (about 1 month ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```