JSPM

sort-by-pinyin

0.1.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q17874F
  • License MIT

sort string by pinyin

Package Exports

  • sort-by-pinyin

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sort-by-pinyin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

sort-by-pinyin

NPM version


Installation

$ npm install sort-by-pinyin

Usage

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

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

License

© Leigh Zhu