JSPM

circular-structure-stringify

1.0.6
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 30
  • Score
    100M100P100Q40372F
  • License MIT

Fix around stringifying JSON with an error saying "Cannot convert Circular Structure to JSON"

Package Exports

  • circular-structure-stringify

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (circular-structure-stringify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

circular-structure-stringify

Use to get around the problem of stringifying a JSON causing an error saying: "Cannot convert Circular Structure to JSON"

Getting Started

Installing

npm install circular-structure-stringify

Usage

import CircularStructureStringify from 'circular-structure-stringify';

console.log(CircularStructureStringify(THE_CIRCULAR_JSON));