{"id":13447439,"url":"https://github.com/adamschwartz/log","last_synced_at":"2026-10-19T01:39:44.453Z","repository":{"id":7994779,"uuid":"9401692","full_name":"adamschwartz/log","owner":"adamschwartz","description":"Console.log with style.","archived":false,"fork":false,"pushed_at":"2023-04-08T01:27:48.000Z","size":77,"stargazers_count":3007,"open_issues_count":9,"forks_count":142,"subscribers_count":61,"default_branch":"master","last_synced_at":"2026-08-17T16:58:06.343Z","etag":null,"topics":["console","devtools","js","log"],"latest_commit_sha":null,"homepage":"https://adamschwartz.co/log","language":"HTML","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/adamschwartz.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2013-04-12T19:08:58.000Z","updated_at":"2026-08-13T07:20:35.000Z","dependencies_parsed_at":"2024-01-02T23:17:44.919Z","dependency_job_id":"4cb3cf4c-99d2-410b-9cf6-f17e5bcf63f0","html_url":"https://github.com/adamschwartz/log","commit_stats":{"total_commits":61,"total_committers":9,"mean_commits":6.777777777777778,"dds":0.3770491803278688,"last_synced_commit":"fb03ee61d2af2400c6a9414604ec906aee57f1b9"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/adamschwartz/log","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamschwartz%2Flog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamschwartz%2Flog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamschwartz%2Flog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamschwartz%2Flog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamschwartz","download_url":"https://codeload.github.com/adamschwartz/log/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamschwartz%2Flog/sbom","scorecard":{"id":165531,"data":{"date":"2025-08-11","repo":{"name":"github.com/adamschwartz/log","commit":"d20706df1808fa123098cafa852c723e06b455e8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":1,"reason":"Found 4/28 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T14:43:24.285Z","repository_id":7994779,"created_at":"2025-08-16T14:43:24.285Z","updated_at":"2025-08-16T14:43:24.285Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38345276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-18T02:00:06.448Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["console","devtools","js","log"],"created_at":"2024-07-31T05:01:17.722Z","updated_at":"2026-10-19T01:39:44.093Z","avatar_url":"https://github.com/adamschwartz.png","language":"HTML","funding_links":[],"categories":["JavaScript","HTML","Log","Log [🔝](#readme)","日志"],"sub_categories":["Runner","运行器","运行器e2e测试"],"readme":"## Log\n\n\u003e Console.log with style\n\n### [Demo](http://adamschwartz.co/log/)\n\n### Features\n\n- Safely call `log` (instead of `console.log`) in any browser.\n- Use markdown syntax for quick formatting:\n    - *italic* \u0026mdash; `log('this is *italic*')`\n    - **bold** \u0026mdash; `log('this word _bold_')`\n    - `code` \u0026mdash; ``log('this word `code`')``\n- Use a custom syntax to style text however you want: `log('this is [c=\"color: red\"]red[c]')`.\n\n\u003c!--\n### Installation\n\nThe easiest way to add `log` to a website is with Eager.\n\n\u003ca href=\"https://eager.io/app/tzO2LussZBpU/install?source=button\"\u003e\n  \u003cimg src=\"https://install.eager.io/install-button.png\" border=\"0\" width=\"126\"\u003e\n\u003c/a\u003e\n--\u003e\n\n### Support\n\nStylized logs are supported in the following browsers:\n\n- Chrome 26+\n- Firefox 31+ or with [Firebug 1.11 beta 2](http://blog.getfirebug.com/2012/11/16/firebug-1-11-beta-2/) or later\n- Opera with Blink (15+)\n- Safari Nightly (537.38+)\n\n### Screenshot\n\n![](https://raw.github.com/adamschwartz/log/gh-pages/screenshot.png)\n\n### Implementations\n\n- Ruby on Rails — [https://github.com/vlado/rails_javascript_log](https://github.com/vlado/rails_javascript_log)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamschwartz%2Flog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamschwartz%2Flog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamschwartz%2Flog/lists"}