make-it-square
v0.0.1
Published
Just a module that flatten objects with circular references.
Downloads
35
Readme
make-it-square
Just a module that flatten objects with circular references.
Usage
import {makeItSquare} from 'make-it-square';
const o = {};
o.o = o; // <- circular
console.log(JSON.stringify(makeItSquare(o))); // <- no problemInstallation
yarn add make-it-square