Search results

8 packages found

Small utility library to replace circular references in JavaScript with JSONPaths

published version 1.0.2, 5 years ago8 dependents licensed under $MIT
21,496

A robust utility for deeply comparing objects and providing detailed difference information. Handles nested objects, arrays, and circular references.

published version 1.1.7, 4 months ago0 dependents licensed under $MIT
35

Serializes circular references and other unserializable types like Dates, .prototype and functions to JSON.

published version 3.0.3, 9 years ago0 dependents licensed under $MIT
28

Deep clone and/or serialize almost any JavaScript object tree (Map/Set, RegExp, DataView, etc.) while preserving circular references.

published version 1.1.1, 6 years ago1 dependents licensed under $MIT
20

A library with tools/decorators for preventing circular reference issues when serializing/deserializing classe objects that particularly implement the root-store pattern E,g Great for implementing a mobx root-store hydrated over SSR.

published version 1.1.8, 6 years ago0 dependents licensed under $MIT
21

Typescript and javascript utilities. clone: deep copy the almost all js structures (plain objects, sets, maps, buffers, class instances etc.) with support circular/duplicate references and customizing; whatIsIt: typeof+instanceOf on steroids with support

published version 1.0.4, 2 years ago0 dependents licensed under $Apache-2.0
15

Analyze any value for how deep an object structure it contains and where there might be recursion. Formerly known as object-depth-finder.

published version 0.1.0, 9 years ago0 dependents licensed under $ISC
5

An advanced JavaScript library for serializing and deserializing complex objects including those with circular references, functions, and special object types like Date, Set, and Map. Ideal for applications needing robust handling of object serialization

published version 1.0.0, a year ago1 dependents licensed under $MIT
3