sindresorhus

safe-stringify

Serialize objects to JSON with handling for circular references

by sindresorhus

JavaScript

JavaScript97.1%
TypeScript2.9%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
71
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
sstur

This should be more efficient on large (or heavily nested) objects if we don't re-create the replacer function within the loop.

sstur · 1y ago
Structured data for AI agents

Repository: sindresorhus/safe-stringify. Description: Serialize objects to JSON with handling for circular references Stars: 165, Forks: 7. Primary language: JavaScript. Languages: JavaScript (97.1%), TypeScript (2.9%). License: MIT. Latest release: v1.3.0 (8mo ago). Open PRs: 0, open issues: 0. Last activity: 8mo ago. Community health: 71%. Top contributors: sindresorhus, Meir017, sstur.