Skip to content

๐Ÿ–ฅ๏ธ Detect whether the terminal supports Unicode

License

Notifications You must be signed in to change notification settings

UltiRequiem/is_unicode_supported

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

42 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

is_unicode_supported

Code Coverage Deno Doc

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 โœ”๏ธ

import { isUnicodeSupported } from "https://deno.land/x/is_unicode_supported/mod.ts";

isUnicodeSupported(); //=> true
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 ๐Ÿ“„

About

๐Ÿ–ฅ๏ธ Detect whether the terminal supports Unicode

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •