1.0.16 • Published 8 months ago

find-circular v1.0.16

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

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:

GitHub

1.0.16

8 months ago

1.0.15

8 months ago

1.0.14

8 months ago

1.0.13

8 months ago

1.0.12

8 months ago

1.0.11

8 months ago

1.0.10

8 months ago

1.0.9

8 months ago

1.0.8

8 months ago

1.0.7

8 months ago

1.0.5

8 months ago

1.0.6

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago