Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

sort-by-pinyin

0.1.3 • Public • Published

sort-by-pinyin

NPM version


Installation

$ npm install sort-by-pinyin

Usage

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

License

© Leigh Zhu

Keywords

install

npm i sort-by-pinyin

Downloadsweekly downloads

4

version

0.1.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar