Package Exports
- check-circular-reference
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 (check-circular-reference) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Check Circular Reference ·

A tool that check an object whether exist circular reference and print its attribute chain.
Installation
npm install check-circular-reference
Usage
let check = require('check-circular-reference');
// The object that you will check
let obj = {}
check(obj)
Example
let check = require('check-circular-reference');
let menu = [
{
label: 'Home',
children: [
{
label: 'Product'
}
],
},
{
label: 'About',
extend: {}
}
];
menu[0].children[0].parent = menu[0];
menu[1].extend.home = menu[0].children[0];
check(menu);
Relative Links
Understanding The Error ‘Converting circular structure to JSON’