5.0.0 • Published 11 months ago

asian-regexps v5.0.0

Weekly downloads
24
License
-
Repository
github
Last release
11 months ago

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
5.0.0

11 months ago

4.1.4

2 years ago

4.1.3

2 years ago

4.2.4

2 years ago

4.0.1

2 years ago

4.0.0

2 years ago

4.3.0

2 years ago

4.1.2

2 years ago

4.1.1

2 years ago

3.2.3

4 years ago

3.2.2

4 years ago

3.2.1

4 years ago

3.2.0

4 years ago

3.1.0

5 years ago

3.0.0

5 years ago

2.0.0

5 years ago

1.0.0

5 years ago