{"id":17281504,"url":"https://github.com/sumory/beauty","last_synced_at":"2026-03-06T01:03:02.098Z","repository":{"id":14825613,"uuid":"17548335","full_name":"sumory/beauty","owner":"sumory","description":"Beautiful console: colorful \u0026\u0026 stylized. Use it without doing anything to `console`.","archived":false,"fork":false,"pushed_at":"2014-03-11T09:53:59.000Z","size":381,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-21T10:03:45.204Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"DanielSchaffer/node-jsp","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sumory.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}},"created_at":"2014-03-08T18:42:16.000Z","updated_at":"2020-09-14T12:58:41.000Z","dependencies_parsed_at":"2022-09-23T23:20:59.840Z","dependency_job_id":null,"html_url":"https://github.com/sumory/beauty","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sumory/beauty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumory%2Fbeauty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumory%2Fbeauty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumory%2Fbeauty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumory%2Fbeauty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sumory","download_url":"https://codeload.github.com/sumory/beauty/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumory%2Fbeauty/sbom","scorecard":{"id":858390,"data":{"date":"2025-08-11","repo":{"name":"github.com/sumory/beauty","commit":"c14cc8e20eed60fe2e646384835065addf44f526"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/11 approved changesets -- score normalized to 0","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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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"}}]},"last_synced_at":"2025-08-24T00:32:27.410Z","repository_id":14825613,"created_at":"2025-08-24T00:32:27.410Z","updated_at":"2025-08-24T00:32:27.410Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30156863,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T22:39:40.138Z","status":"ssl_error","status_checked_at":"2026-03-05T22:39:24.771Z","response_time":93,"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-15T09:46:02.449Z","updated_at":"2026-03-06T01:03:02.065Z","avatar_url":"https://github.com/sumory.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# beauty\n\nBeautiful console and strings: colorful \u0026\u0026 stylized. Use it without doing anything to `console`.\n\n\u003cimg src='https://raw.github.com/sumory/beauty/master/assets/console.png' width='450px;'/\u003e\n\n\n## Install\n\n```\nnpm install beauty\n```\n\n## Usage\n\nDefault:\n\n```\nvar beauty = require('beauty');\nbeauty.beautifyConsole();//use default theme\n\nconsole.log('log:', 'one', 'two');\nconsole.info('info:','three');\nconsole.warn('warn:', 'four');\nconsole.error('error:', 'five');\n```\n\nCustomize theme:\n\n```\n//only one color and several styles supported\nvar theme = {\n\t'log': ['blue','underline'],\n\t'info': ['cyan','inverse'],\n\t'warn': ['yellow','italic'],\n\t'error': ['red','bold','underline']\n};\nbeauty.setTheme(theme);//set new theme\n\nconsole.debug('debug:', 'zero');\nconsole.log('log:', 'one', 'two');\nconsole.info('info:','three');\nconsole.warn('warn:', 'four');\nconsole.error('error:', 'five');\n```\n\nBeautify string:\n\n```\nbeauty.beautifyStr();//make strings colorful and stylized\n\nconsole.debug('debug:', 'one'.red.bold,'two'.yellow.italic,'three'.green.underline);\nconsole.log('log:', 'five'.italic);\nconsole.info('info:','six');\nconsole.warn('warn:', 'seven'.black.yellowBG);\nconsole.error('error:', 'eight'.underline, 'nine'.black.blueBG);\n```\n\nSupport formatted string:\n\n```\nconsole.log();\nconsole.print('-\u003e support formatted strings.');\nvar a =['%s %s%s. %d %s','Give me one','bit','coin',0,' Blockchain'.black.bold];\nconsole.warn.apply(null,a)\n\nconsole.log('%d%d %s every day. %s every block.', 500, 0, 'bitcoin'.red, '25'.green)\nconsole.log('%s%s %s every day. %s every block.', '500', 0, 'bitcoin'.red, '25'.green)\n```\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/sumory/beauty/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumory%2Fbeauty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumory%2Fbeauty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumory%2Fbeauty/lists"}