GitXplorerGitXplorer
l

sort-by-pinyin

public
2 stars
0 forks
1 issues

Commits

List of commits on branch master.
Unverified
767b4d9d3dfee4e5e5cd02d4d6c5fac26453ae89

add travis badge

llisposter committed 10 years ago
Unverified
9fb7caa7f6cd56e366c5487cd98ffe526d8ff52b

add travis

llisposter committed 10 years ago
Unverified
9ca4fba5b1179b52fd70b6322e1e9cd21f7a6c34

fix test

llisposter committed 10 years ago
Unverified
acd3817665d279194a266d4bfcf51615a870082c

add test

llisposter committed 10 years ago
Unverified
71a8a3cb0ef67c71f6f85a16976061edef75ff25

add Makefile

llisposter committed 10 years ago
Unverified
325d0e398cec37b807a0aeedad932354ff3aa120

add note

llisposter committed 10 years ago

README

The README file for this repository.

sort-by-pinyin

NPM version Build status

Note: This package can NOT deal the heteronym(aka. 多音字) very well.


Installation

$ npm install sort-by-pinyin

Usage

var sort = require('sort-by-pinyin');

console.log(sort(['上海', '北京', '杭州', '长沙']));
// ==> [ '北京', '长沙', '杭州', '上海' ]

License

© Leigh Zhu