18 packages found
2 functions that both sort an array of strings: one returns the first string in the sorted array, the other returns the last
deeply alphabetize object keys
To get chinese pinyin or alphabet from chinese. 从汉字提取拼音,返回首字母大写形式;提取首字母,返回大写形式。
An opinionated code sorter
Transforms a Markdown Abstract Syntax Tree (mdast) so that list items are naturally sorted.
Re-orders import statements in JavaScript and TypeScript files.
Re-orders array of objects alphabetically by the value of a particular property
Alphabetizing JSON files, regardless of their type.
Alphabetizing JSON files. Sort JSON files.
Returns new array of objects ordered alphabetically by the value of a particular property
Orders an array alphabetically. Optional callback allows you to choose what value in each element to sort by
A typescript/javascript class for sorting an array
Prettify your SASS source files.
Sort JS objects and arrays by alpha order
Javascript object keys have no defined ordering. But sometimes you'd like to serialize JSON keys in an order that is human-friendly, like for an API doc. abcdefghijson is your solution.
Gulp plugin for deterministic sorting of JSON files
Sort an array alphabetically, ignoring case