nodejs-safe-circular-structure
Current package version: 0.0.2
How to use
Coming soon
Features
Name | Type | Version | Description / Features |
---|---|---|---|
safeObject | Function | v0.0.1 | returns new object with same properties and prototype, though with circular structure properties redefined as non-enumerable property allows for JSON.stringify to be used on returned object allows exposure of internal / ownProperties such as Error.message and Error.stack |
stringify | Function | v0.0.1 | Custom JSON stringifier function that uses safeObject for every Object value |
Planned features
- stringify
- Identation
- With customizable ident-character
- Html Colorization or Console Colorization
- As XML
- As JavaScript
- As YAML
- Describe function
- Function name
- [Optional] Function body
- Identation