sindresorhus / sort-onView external linksLinks
Sort an array on an object property
☆201Oct 7, 2025Updated 4 months ago
Alternatives and similar repositories for sort-on
Users that are interested in sort-on are comparing it to the libraries listed below
Sorting:
- Strip a substring from the start/end of a string☆23Jul 9, 2022Updated 3 years ago
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 2 years ago
- Check if a filepath is a Markdown file☆22May 4, 2021Updated 4 years ago
- Split a string at one or more indices☆25May 3, 2021Updated 4 years ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- Remove leading, trailing and repeated whitespace from a string☆41Aug 10, 2021Updated 4 years ago
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago
- Get the email of an npm user☆14Feb 26, 2024Updated last year
- Lowercase the keys of an object☆41Feb 2, 2026Updated last week
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Convert a value to an array☆133Nov 9, 2021Updated 4 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 14, 2021Updated 4 years ago
- Get the avatar of a GitHub user☆21Oct 14, 2021Updated 4 years ago
- Modify the values of an object☆29Sep 10, 2021Updated 4 years ago
- Include only certain items in an array☆19Jun 13, 2025Updated 8 months ago
- Extract the article title of a HTML document☆56Sep 9, 2025Updated 5 months ago
- Turn an object into a string of HTML attributes☆50Mar 30, 2023Updated 2 years ago
- Open the URL from a web shortcut file☆17Nov 3, 2021Updated 4 years ago
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 4 years ago
- Conditional promise catch handler☆40Apr 9, 2021Updated 4 years ago
- Get metadata on the default editor or a specific editor☆55Sep 10, 2025Updated 5 months ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Get an array of parent directories including itself☆26Nov 7, 2023Updated 2 years ago
- Strip the authentication part of a URL☆20Jul 9, 2022Updated 3 years ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Ensures a value is a valid error by making it one if not☆86Sep 15, 2025Updated 4 months ago
- Exclude certain items from an array☆23Jun 13, 2025Updated 8 months ago
- Get, set, or delete a property from a nested object using a dot path☆866Oct 5, 2025Updated 4 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 5 months ago
- User-friendly pseudorandom number generator (PRNG)☆108Sep 10, 2025Updated 5 months ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Feb 19, 2023Updated 2 years ago
- Simple PhantomJS bridge☆17Jan 24, 2021Updated 5 years ago
- Sort an array of numbers☆18Sep 18, 2025Updated 4 months ago
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 4 years ago
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- Convert a time string to seconds: '0017' → 1337☆37May 3, 2021Updated 4 years ago