{"id":703,"url":"https://github.com/sindresorhus/log-symbols","last_synced_at":"2025-05-14T05:10:21.125Z","repository":{"id":18478610,"uuid":"21673868","full_name":"sindresorhus/log-symbols","owner":"sindresorhus","description":"Colored symbols for various log levels","archived":false,"fork":false,"pushed_at":"2024-08-17T11:33:37.000Z","size":52,"stargazers_count":756,"open_issues_count":1,"forks_count":33,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-05-11T19:23:26.823Z","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":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sindresorhus.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":".github/security.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"sindresorhus","open_collective":"sindresorhus","buy_me_a_coffee":"sindresorhus","custom":"https://sindresorhus.com/donate"}},"created_at":"2014-07-10T00:51:52.000Z","updated_at":"2025-05-08T02:41:50.000Z","dependencies_parsed_at":"2024-04-17T03:50:27.075Z","dependency_job_id":"e01cc7ee-908b-4d78-afd2-0d971a487fec","html_url":"https://github.com/sindresorhus/log-symbols","commit_stats":{"total_commits":45,"total_committers":12,"mean_commits":3.75,"dds":0.3555555555555555,"last_synced_commit":"a2389bbc9c4fd3867711a9bc10d92f9246e3e3bc"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Flog-symbols","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Flog-symbols/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Flog-symbols/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Flog-symbols/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/log-symbols/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254076849,"owners_count":22010611,"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":[],"created_at":"2024-01-05T20:15:29.224Z","updated_at":"2025-05-14T05:10:21.102Z","avatar_url":"https://github.com/sindresorhus.png","language":"JavaScript","funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://buymeacoffee.com/sindresorhus","https://sindresorhus.com/donate"],"categories":["目录","包","Repository","Packages","JavaScript","others","Command-line utilities","Libraries","Uncategorized"],"sub_categories":["命令行工具","Command-line utilities","Command-line Utilities","Shell","Uncategorized","命令行实用工具"],"readme":"# log-symbols\n\n\u003cimg src=\"screenshot.png\" width=\"226\" height=\"192\" align=\"right\"\u003e\n\n\u003e Colored symbols for various log levels\n\nIncludes fallbacks for Windows CMD which only supports a [limited character set](https://en.wikipedia.org/wiki/Code_page_437).\n\n## Install\n\n```sh\nnpm install log-symbols\n```\n\n## Usage\n\n```js\nimport logSymbols from 'log-symbols';\n\nconsole.log(logSymbols.success, 'Finished successfully!');\n// Terminals with Unicode support:     ✔ Finished successfully!\n// Terminals without Unicode support:  √ Finished successfully!\n```\n\n## API\n\n### logSymbols\n\n#### info\n#### success\n#### warning\n#### error\n\n## Related\n\n- [figures](https://github.com/sindresorhus/figures) - Unicode symbols with Windows CMD fallbacks\n- [py-log-symbols](https://github.com/ManrajGrover/py-log-symbols) - Python port\n- [log-symbols](https://github.com/palash25/log-symbols) - Ruby port\n- [guumaster/logsymbols](https://github.com/guumaster/logsymbols) - Golang port\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Flog-symbols","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsindresorhus%2Flog-symbols","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Flog-symbols/lists"}