Tuesday, 2 January 2018

Can you critique my first node module? A fluent API for adding SortBy().ThenBy() function

Crossposting from /r/javascript so hopefully that's okay! If not, let me know!Hi all! I am releasing my first node module, a simple module called fluent-sort that allows you to chain sorting functions together to more specifically. It also allows you to sort simply on a field, using sortByField, and change the order of a sort to be ascending vs. descending easily.I've published it on npm and am looking for feedback on what would make the readme better, and make the code better, as well as if this API even seems logical / useful.

Submitted January 02, 2018 at 06:51PM by xueye

No comments:

Post a Comment