0.0.1 • Published 6 years ago
make-it-square v0.0.1
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 problem
Installation
yarn add make-it-square
0.0.1
6 years ago