make-it-square
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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

Package Sidebar

Install

npm i make-it-square

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

3.83 kB

Total Files

14

Last publish

Collaborators

  • vdegenne