{"id":17767316,"url":"https://github.com/jamiebuilds/json-peek","last_synced_at":"2025-07-11T09:35:25.702Z","repository":{"id":57285065,"uuid":"136771267","full_name":"jamiebuilds/json-peek","owner":"jamiebuilds","description":"Stringify JSON *just enough* to see what it is","archived":false,"fork":false,"pushed_at":"2018-06-10T06:22:03.000Z","size":27,"stargazers_count":33,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-31T18:37:30.665Z","etag":null,"topics":["json","peek","pretty","preview","print","stringify"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"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/jamiebuilds.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-10T01:50:09.000Z","updated_at":"2022-10-07T22:11:32.000Z","dependencies_parsed_at":"2022-09-07T13:14:08.925Z","dependency_job_id":null,"html_url":"https://github.com/jamiebuilds/json-peek","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jamiebuilds/json-peek","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiebuilds%2Fjson-peek","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiebuilds%2Fjson-peek/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiebuilds%2Fjson-peek/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiebuilds%2Fjson-peek/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamiebuilds","download_url":"https://codeload.github.com/jamiebuilds/json-peek/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiebuilds%2Fjson-peek/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263476061,"owners_count":23472513,"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":["json","peek","pretty","preview","print","stringify"],"created_at":"2024-10-26T20:46:06.247Z","updated_at":"2025-07-11T09:35:25.395Z","avatar_url":"https://github.com/jamiebuilds.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# json-peek\n\n\u003e Stringify JSON *just enough* to see what it is\n\n## Install\n\n```sh\nyarn add json-peek\n```\n\n## Usage\n\n```js\nconst jsonPeek = require('json-peek');\n\njsonPeek({ prop: 'value' }); // {\"prop\": \"value\"}\n```\n\n## Example\n\n**Input:**\n\n```json\n{\n  \"name\": \"json-peek\",\n  \"version\": \"0.0.0\",\n  \"description\": \"Stringify JSON *just enough* to see what it is\",\n  \"main\": \"index.js\",\n  \"repository\": \"https://github.com/jamiebuilds/json-peek\",\n  \"author\": \"Jamie Kyle \u003cme@thejameskyle.com\u003e\",\n  \"license\": \"MIT\",\n  \"keywords\": [\n    \"json\",\n    \"stringify\",\n    \"peek\",\n    \"preview\",\n    \"pretty\",\n    \"print\"\n  ],\n  \"files\": [\n    \"index.js\"\n  ],\n  \"scripts\": {\n    \"test\": \"ava\"\n  },\n  \"devDependencies\": {\n    \"ava\": \"^0.25.0\",\n    \"flow-bin\": \"^0.74.0\"\n  }\n}\n```\n\n**Output:**\n\n```\n{\"name\": \"json-peek\", ...}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamiebuilds%2Fjson-peek","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamiebuilds%2Fjson-peek","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamiebuilds%2Fjson-peek/lists"}