Last 12 weeks · 0 commits
4 of 6 standards met
Closes #8 Hello! I decided to take a different approach than the option we discussed in #8. I think you will like it. This PR changes the API to receive an options object of the form instead of using properties such as and . This PR adds a option which treats any sequence of digits atomically. This PR adds a option which is not only much more powerful than the idea but also cleaner in my opinion. I started developing the but I was thinking it was too cumbersome and specific. I have added an example in readme on how the new option can be used to easily obtain the behavior desired by OP in #8.
Repository: sindresorhus/alpha-sort. Description: Alphabetically sort an array of strings Stars: 40, Forks: 8. Primary language: JavaScript. Languages: JavaScript (91.8%), TypeScript (8.2%). License: MIT. Latest release: v5.0.0 (5y ago). Open PRs: 0, open issues: 0. Last activity: 5y ago. Community health: 71%. Top contributors: sindresorhus, kevva, papb, BendingBender.