word-count
Word count in respect of CJK characters.
Installation
Install with npm:
$ npm install word-count
API
import count from 'word-count'
const text = 'hello means 你好'
count(text)
// 4
License
MIT
Word count in respect of CJK characters.
Word count in respect of CJK characters.
Install with npm:
$ npm install word-count
import count from 'word-count'
const text = 'hello means 你好'
count(text)
// 4
MIT