Skip to content

lepture/word-count

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Word count in respect of CJK characters.

Resources

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors