npm.io

Is-chinese Packages

contains-chinese

Checks whether the input string contains any Chinese text (at least one character). Works with Traditional and Simplified. Unlike the is-chinese package, returns `true` even if the string contains mixed Chinese and non-Chinese characters.

chineseis-chinesehas-chinesecontains-chinesechinese-languagetraditional-chinesesimplified-chineseregexregexphan
1.0.0 • Published 8 years ago

contact@npm.io