{"id":15770046,"url":"https://github.com/benbowes/jsfiddle-value-printer","last_synced_at":"2026-02-08T08:31:09.257Z","repository":{"id":68470573,"uuid":"67377954","full_name":"benbowes/jsfiddle-value-printer","owner":"benbowes","description":"Prints values in the result panel....","archived":false,"fork":false,"pushed_at":"2016-09-05T03:50:22.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-16T01:33:47.491Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benbowes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2016-09-05T01:23:25.000Z","updated_at":"2016-09-05T01:23:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"f44e6f9e-ff20-4635-b7bf-a0eef75d9b54","html_url":"https://github.com/benbowes/jsfiddle-value-printer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/benbowes/jsfiddle-value-printer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbowes%2Fjsfiddle-value-printer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbowes%2Fjsfiddle-value-printer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbowes%2Fjsfiddle-value-printer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbowes%2Fjsfiddle-value-printer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benbowes","download_url":"https://codeload.github.com/benbowes/jsfiddle-value-printer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbowes%2Fjsfiddle-value-printer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29225477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T06:05:31.539Z","status":"ssl_error","status_checked_at":"2026-02-08T05:58:33.853Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-10-04T14:21:42.120Z","updated_at":"2026-02-08T08:31:09.243Z","avatar_url":"https://github.com/benbowes.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# jsfiddle-value-printer\nFor printing values in the result panel... for when you're too lazy to open the inspector to view console.log() output.\n\n### In the HTML window...\n```javascript\n\u003ch3\u003eResults\u003c/h3\u003e\n\u003cpre class=\"results\"\u003e\u003c/pre\u003e\n\u003cscript\u003e\n  var index = 0;\n  var printResult = function(msg) {\n    index++;\n    var result = '\u003cp class=\"results__result\"\u003e';\n    result += '\u003cspan class=\"results__result-index\"\u003e' + index + ': \u003c/span\u003e'; \n    result += JSON.stringify(msg, null, 2) + ';'\n    result += '\u003c/p\u003e';\n    document.querySelector('.results').innerHTML += result;\n  }\n\u003c/script\u003e\n```\n\n### In the CSS window...\n```css\nbody {\n  font-family: sans-serif;\n  padding: 1em;\n}\n\n.results {\n  padding: 0.5em 1em;\n  background: #fff;\n  display: block;\n}\n\n.results__result:not(:last-child) {\n  border-bottom: 1px solid #f1f1f1;\n}\n\n.results__result {\n  padding: 1em;\n}\n\n.results__result-index {\n  color: #ccc;\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenbowes%2Fjsfiddle-value-printer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenbowes%2Fjsfiddle-value-printer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenbowes%2Fjsfiddle-value-printer/lists"}