Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

readme.md 1.1KB

1234567891011121314151617181920212223242526272829303132333435
  1. # is-unicode-supported
  2. > Detect whether the terminal supports Unicode
  3. This can be useful to decide whether to use Unicode characters or fallback ASCII characters in command-line output.
  4. Note that the check is quite naive. It just assumes all non-Windows terminals support Unicode and hard-codes which Windows terminals that do support Unicode. However, I have been using this logic in some popular packages for years without problems.
  5. ## Install
  6. ```
  7. $ npm install is-unicode-supported
  8. ```
  9. ## Usage
  10. ```js
  11. const isUnicodeSupported = require('is-unicode-supported');
  12. isUnicodeSupported();
  13. //=> true
  14. ```
  15. ## API
  16. ### isUnicodeSupported()
  17. Returns a `boolean` for whether the terminal supports Unicode.
  18. ## Related
  19. - [is-interactive](https://github.com/sindresorhus/is-interactive) - Check if stdout or stderr is interactive
  20. - [supports-color](https://github.com/chalk/supports-color) - Detect whether a terminal supports color
  21. - [figures](https://github.com/sindresorhus/figures) - Unicode symbols with Windows fallbacks
  22. - [log-symbols](https://github.com/sindresorhus/log-symbols) - Colored symbols for various log levels