@kamikai/safe-circular-structure
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

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

/@kamikai/safe-circular-structure/

    Package Sidebar

    Install

    npm i @kamikai/safe-circular-structure

    Weekly Downloads

    0

    Version

    0.0.4

    License

    ISC

    Unpacked Size

    14.8 kB

    Total Files

    15

    Last publish

    Collaborators

    • kamikai