{"id":16673077,"url":"https://github.com/ph-7/giveit","last_synced_at":"2025-04-09T20:06:02.384Z","repository":{"id":240212338,"uuid":"801962532","full_name":"pH-7/giveit","owner":"pH-7","description":"Debug by logging with ease any nested objects, arrays, etc. JSON.stringify wrapper to display nested objects with indentation \u0026 color for quick debugging","archived":false,"fork":false,"pushed_at":"2024-09-28T10:39:00.000Z","size":122,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T20:05:56.858Z","etag":null,"topics":["debug","debugging","javascript-debugger","logging","logging-library","npm","stringify","typescript-logging"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/giveit","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pH-7.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"phenry","github":"pH-7"}},"created_at":"2024-05-17T08:49:40.000Z","updated_at":"2024-09-28T10:39:03.000Z","dependencies_parsed_at":"2025-02-15T19:31:32.190Z","dependency_job_id":"dd1009a5-e7b0-47a6-a98d-ad5da838f8d9","html_url":"https://github.com/pH-7/giveit","commit_stats":null,"previous_names":["ph-7/giveit"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pH-7%2Fgiveit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pH-7%2Fgiveit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pH-7%2Fgiveit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pH-7%2Fgiveit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pH-7","download_url":"https://codeload.github.com/pH-7/giveit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103871,"owners_count":21048245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debug","debugging","javascript-debugger","logging","logging-library","npm","stringify","typescript-logging"],"created_at":"2024-10-12T12:24:29.810Z","updated_at":"2025-04-09T20:06:02.348Z","avatar_url":"https://github.com/pH-7.png","language":"TypeScript","readme":"# giveit \n\nDebug with ease any nested objects, arrays, etc. **giveit** (AKA \"Give It To Me\") is a lightweight `JSON.stringify` wrapper to display nested objects with indentation and color for quick debugging.\n\n## Installation\n\n### Using [NPM](https://www.npmjs.com/package/giveit)\n\n```console\nnpm i giveit\n```\n\n### Using [Yarn](https://yarnpkg.com/package/giveit)\n\n```console\nyarn add giveit\n```\n\n## Usage\n\n```typescript\nimport { giveit } from \"giveit\";\n\nconst arrObj = [\n  {\n    name: \"John Doe\",\n    age: 30,\n    city: \"New York\",\n    hobbies: [\"reading\", \"cooking\"],\n    married: false,\n    address: {\n      street: \"123 Main St\",\n      zip: 12345,\n    },\n  },\n];\n\n// give it! giveit() will nicely show arrObj\nconsole.log(\"See nested values of arrObj\", giveit(arrObj));\n```\n\n![Example of showing nested objects](example-giveit-output.png)\n\n## Author\n\n[![Pierre-Henry Soria](https://s.gravatar.com/avatar/a210fe61253c43c869d71eaed0e90149?s=200)](https://ph7.me \"Pierre-Henry Soria - Software Data Engineer\")\n\n[Pierre-Henry Soria ツ](https://ph7.me) – A [super passionate](https://github.com/pH-7) and enthusiastic Problem-Solver / Senior Software Data Engineer living currently in Sydney. Also, a true cheese 🧀, ristretto ☕️, and dark chocolate lover! 😋 👉 Reach me on [LinkedIn](https://www.linkedin.com/in/ph7enry/) ⚡️\n\n## License\n\nDistributed under the _[MIT](https://opensource.org/licenses/MIT)_ 🎉 Enjoy!\n","funding_links":["https://ko-fi.com/phenry","https://github.com/sponsors/pH-7"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fph-7%2Fgiveit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fph-7%2Fgiveit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fph-7%2Fgiveit/lists"}