sindresorhus / truncate-urlView external linksLinks
Truncate a URL to a specific length
☆62Sep 22, 2025Updated 4 months ago
Alternatives and similar repositories for truncate-url
Users that are interested in truncate-url are comparing it to the libraries listed below
Sorting:
- Exclude certain items from an array☆23Jun 13, 2025Updated 8 months ago
- Test for deep equality - Node.js `assert.deepStrictEqual()` algorithm as a standalone module☆23Sep 17, 2021Updated 4 years ago
- Include only certain items in an array☆19Jun 13, 2025Updated 8 months ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Sum numbers☆10Sep 18, 2025Updated 4 months ago
- Add XO to your project☆47Nov 4, 2023Updated 2 years ago
- Get the path to the user home directory☆13Apr 9, 2021Updated 4 years ago
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- Check if a value is an object☆42Apr 16, 2021Updated 4 years ago
- Check when the DOM has loaded like `DOMContentLoaded`☆111Aug 21, 2024Updated last year
- Get all emails in a text file or stdin☆25Feb 2, 2026Updated last week
- ES2015 Math.hypot() ponyfill☆12Apr 7, 2021Updated 4 years ago
- Get user info from a GitHub username☆24Oct 14, 2021Updated 4 years ago
- Check if a domain is public☆15Aug 10, 2021Updated 4 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Apr 21, 2021Updated 4 years ago
- Rename a function☆46Nov 5, 2023Updated 2 years ago
- Add AVA to your project☆15Jan 24, 2021Updated 5 years ago
- Get a Gravatar image from an identifier, such as an email☆42Sep 10, 2021Updated 4 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Get the package.json of a package from the npm registry☆19Feb 26, 2024Updated last year
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆14Apr 9, 2021Updated 4 years ago
- Get the version numbers of a package from the npm registry☆31Feb 26, 2024Updated last year
- Get a random item from an array☆58Mar 28, 2022Updated 3 years ago
- Find the root directory of a Node.js project or npm package☆27Jun 5, 2025Updated 8 months ago
- Convert a value to an array☆133Nov 9, 2021Updated 4 years ago
- Check if a Buffer/Uint8Array is a GIF image☆30Jul 8, 2022Updated 3 years ago
- Strip UTF-8 byte order mark (BOM)☆22Sep 15, 2025Updated 5 months ago
- Lazy number range generator☆83Jan 2, 2024Updated 2 years ago
- Validate files with XO☆38Jan 24, 2021Updated 5 years ago
- Modify the source of an imported module☆28Jan 23, 2021Updated 5 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 4 years ago
- Get a random property from an object☆15Jul 2, 2024Updated last year
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 2 years ago
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- Check if something is a negative number☆13Jan 11, 2016Updated 10 years ago
- Check if a value matches a condition☆13Feb 19, 2018Updated 7 years ago
- Regular expression for matching scoped npm package names☆27Jul 9, 2022Updated 3 years ago
- Get the avatar of a GitHub user☆21Oct 14, 2021Updated 4 years ago