sindresorhus / semver-truncateLinks
Truncate a semver version: 1.2.3 → 1.2.0
☆17Updated 2 years ago
Alternatives and similar repositories for semver-truncate
Users that are interested in semver-truncate are comparing it to the libraries listed below
Sorting:
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Check if a value is an error constructor☆13Updated 4 years ago
- Get the URL from a web shortcut file☆13Updated 3 years ago
- Check if a string is a scoped npm package name☆24Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆55Updated 2 years ago
- Create a revved file path☆21Updated 2 years ago
- Modify the values of an object☆27Updated 3 years ago
- Check if a file path is a compressed file☆17Updated last year
- Split a string at one or more indices☆23Updated 4 years ago
- Check if a value is a function☆27Updated 4 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Sort an array of numbers☆17Updated 4 months ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 3 years ago
- Clone and modify a RegExp instance☆22Updated 2 years ago
- Exclude certain items from an array☆21Updated this week
- Strip UTF-8 byte order mark (BOM) from a buffer☆19Updated last year
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Get the path to the user home directory☆13Updated 4 years ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆34Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 7 months ago
- Get the system default UID☆11Updated last year
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Gracefully restore the CLI cursor on exit☆38Updated 10 months ago
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 2 years ago
- Get the version of a binary in semver format☆42Updated last year
- Get metadata on the default editor or a specific editor☆53Updated last year
- Get the visual width of a string - the number of columns required to display it☆13Updated last year
- Get the visual width of the widest line in a string - the number of columns required to display it☆37Updated last year
- Find the root directory of a Node.js project or npm package☆25Updated last week