giveit
v2.0.1
Published
Debug with ease any nested objects, arrays, etc. JSON.stringify wrapper to display nested objects with indentation & color for quick debugging.
Downloads
7
Maintainers
Readme
giveit
Debug with ease any nested objects, arrays, etc. giveit is a JSON.stringify
wrapper to display nested objects with indentation & color for quick debugging
Installation
npm install giveit
Usage
import { giveit } from "giveit";
const arrObj = [
{
name: "John Doe",
age: 30,
city: "New York",
hobbies: ["reading", "cooking"],
married: false,
address: {
street: "123 Main St",
zip: 12345,
},
},
];
// give it! giveit() will nicely show arrObj
console.log("See nested values of arrObj", giveit(arrObj));
Author
Pierre-Henry Soria ツ – A super passionate and enthusiastic Problem-Solver / Senior Software Engineer living currently in Sydney 🦘
Also, a true cheese 🧀, ristretto ☕️, and dark chocolate lover! 😋 👉 Reach me on LinkedIn ⚡️
License
Distributed under the MIT 🎉 Enjoy!