@ultirequiem/is-unicode-supported v2.1.0
is_unicode_supported
Detect whether the terminal supports Unicode, port of is-unicode-supported.
This can be useful to decide whether to use Unicode characters or fallback ASCII characters in command-line output.
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.
Usage
The API is the same on all this platforms āļø
Deno š¦
import { isUnicodeSupported } from "https://deno.land/x/is_unicode_supported/mod.ts";
isUnicodeSupported(); //=> true
Node.js š¢š
import { isUnicodeSupported } from "@ultirequiem/is-unicode-supported";
Documentation
Is hosted on Deno Doc š
Support
Open an Issue, I will check it a soon as possible š
If you want to hurry me up a bit send me a tweet š
Consider supporting me on Patreon if you like my work š
Don't forget to start the repo ā
Versioning
We use Semantic Versioning. For the versions available, see the tags š·ļø
Authors
Eliaz Bobadilla - Creator and Maintainer šŖ
See also the full list of contributors who participated in this project āØ
Licence
Licensed under the MIT License š