{"name":"log-symbols","version":"6.0.0","description":"Colored symbols for various log levels. Example: `✔︎ Success`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/log-symbols.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","node":"./index.js","default":"./browser.js"},"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["unicode","cli","cmd","command-line","characters","symbol","symbols","figure","figures","fallback","windows","log","logging","terminal","stdout"],"dependencies":{"chalk":"^5.3.0","is-unicode-supported":"^1.3.0"},"devDependencies":{"ava":"^5.3.1","strip-ansi":"^7.1.0","tsd":"^0.29.0","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"249ffb48c3df3a7b6b9fbfa75916b0bf6848586f","bugs":{"url":"https://github.com/sindresorhus/log-symbols/issues"},"homepage":"https://github.com/sindresorhus/log-symbols#readme","_id":"log-symbols@6.0.0","_nodeVersion":"18.17.1","_npmVersion":"9.2.0","dist":{"integrity":"sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==","shasum":"bb95e5f05322651cac30c0feb6404f9f2a8a9439","tarball":"http://registry-npm.ywwl.com/log-symbols/download/log-symbols-6.0.0.tgz","fileCount":6,"unpackedSize":4246,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtKl4VI6tD3i81o0ptvZs5xKNxlEj+FvaTvyJ4Wc8N8gIgLlGsl5uat9ORXJBoH6uvkD3JpIvm7exvb27UCx3WOGw="}],"size":2029,"noattachment":false,"key":"/log-symbols/-/log-symbols-6.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log-symbols_6.0.0_1698003490201_0.11648689705361259"},"_hasShrinkwrap":false,"readme":"# log-symbols\n\n<img src=\"screenshot.png\" width=\"226\" height=\"192\" align=\"right\">\n\n> 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","publish_time":1698003490487,"_cnpm_publish_time":1698003490487,"dist-tags":{"latest":"7.0.1"}}