SkillAgentSearch skills...

Stringy

Stringy.js will stringify your circular JS objects without complaint.

Install / Use

/learn @highruned/Stringy
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Stringy.js

Stringy.js will stringify your circular JS objects without complaint. Unfortunately it currently fails if the object hierarchy exceeds 30 total items.

Usage

var b = {foo: {bar: null}}

b.foo.bar = b // it's circular!

console.log("Filtering: ", b)
console.log(stringy.stringify(b)) // works!
console.log(JSON.stringify(b)) // exception

Related Skills

View on GitHub
GitHub Stars18
CategoryDevelopment
Updated1y ago
Forks4

Languages

JavaScript

Security Score

60/100

Audited on Jul 13, 2024

No findings