Package Exports
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 (find-circular) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
find-circular
A utility to detect and handle circular references in objects.
Installation
npm install find-circular
Usage
import { findCircular } from "find-circular";
const obj = { a: 1 };
obj.self = obj;
console.log(findCircular(obj));
// Output: { a: 1, self: "[Circular]" }
GitHub Repository
You can find the source code and contribute to the project on GitHub: