1.0.16 • Published 11 months ago

find-circular v1.0.16

Weekly downloads
-
License
MIT
Repository
github
Last release
11 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

11 months ago

1.0.15

11 months ago

1.0.14

11 months ago

1.0.13

11 months ago

1.0.12

11 months ago

1.0.11

11 months ago

1.0.10

11 months ago

1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.5

11 months ago

1.0.6

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago