UNPKG

word-count

Version:

Word count in respect of CJK characters.

24 lines (14 loc) 240 B
# word-count Word count in respect of CJK characters. ## Installation Install with npm: $ npm install word-count ## API ```js import count from 'word-count' const text = 'hello means 你好' count(text) // 4 ``` ## License MIT