measurewords-zh

0.1.1 • Public • Published

Measurewords-zh

Finds the measure word for many Chinese words.

Installation

$ npm install --save measurewords-zh

Usage

var mw = require('measurewords-zh');
 
mw('', function(err, measureWords) {
    if (err) {
        throw err;
    }
    //measureWords=> ['条','只']
});

API

measureWord(str)

str

Type: string

Get the measure word of another word.

Package Sidebar

Install

npm i measurewords-zh

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • swestrich