版博士V2.0程序
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
CPL 9104556504 v2.0.7 报表数据修改 pirms 1 gada
..
index.d.ts v2.0.7 报表数据修改 pirms 1 gada
index.js v2.0.7 报表数据修改 pirms 1 gada
license v2.0.7 报表数据修改 pirms 1 gada
package.json v2.0.7 报表数据修改 pirms 1 gada
readme.md v2.0.7 报表数据修改 pirms 1 gada

readme.md

is-unicode-supported

Detect whether the terminal supports Unicode

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. However, I have been using this logic in some popular packages for years without problems.

Install

npm install is-unicode-supported

Usage

import isUnicodeSupported from 'is-unicode-supported';

isUnicodeSupported();
//=> true

API

isUnicodeSupported()

Returns a boolean for whether the terminal supports Unicode.