/unlace

unlace.js is a function designed for deep inspection of JavaScript objects. Circular references are given a placeholder '[circular reference]'. Available as an npm module under the name 'unlace'.

Primary LanguageJavaScriptMIT LicenseMIT

unlace.js

Written by Thai-Duong Nguyen, unlace.js is a function that returns recursively stringified data to allow full inspection of JavaScript expressions, regardless of data type and nesting level. Strings are wrapped in single quotes in order to distinguish them from other data types. Circular references are given a placeholder '[circular reference]'.