asian-regexps
v5.0.0
Published
Japanese-Chinese-Korean regexps
Downloads
127
Maintainers
Readme
asian-regexps
Chinese, Japanese, Korean convenient RegExp npm package.
Installation
npm i asian-regexps
Usage
CommonJS
const { isFullKorean } = require('asian-regexps')
isFullKorean('한글') // true
ES6/ES2015 Modules AND TypeScript
import { isFullKorean } from 'asian-regexps'
isFullKorean('한글') // true
Browser
<script type="module">
import { isFullKorean } from '/node_modules/asian-regexps/asian-regexps-esm.js'
isFullKorean('한글') // true
</script>
API
functions
hasChinese(string)
isFullChinese(string)
hasJapanese(string)
isFullJapanese(string)
hasKorean(string)
isFullKorean(string)
regexps
chineseRegExp
japaneseRegExp
koreanRegExp