sindresorhus / strip-outer
Strip a substring from the start/end of a string
☆21Updated 2 years ago
Related projects ⓘ
Alternatives and complementary repositories for strip-outer
- Regular expression for matching mapcodes☆18Updated 2 years ago
- Convert a Source Map object to a comment☆15Updated 3 years ago
- Modify the values of an object☆28Updated 3 years ago
- Get the URL from a web shortcut file☆13Updated 3 years ago
- Get the avatar of a GitHub user☆21Updated 3 years ago
- Split a string at one or more indices☆23Updated 3 years ago
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆13Updated 3 years ago
- Sort an array of numbers☆16Updated 3 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 3 years ago
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 2 years ago
- Include only certain items in an array☆16Updated 3 years ago
- Check if a number is a redirect HTTP status code☆23Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- List of platforms supported by Node.js☆11Updated 3 years ago
- Modify the keys of an object☆15Updated 3 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Simple `setImmediate` shim☆28Updated 8 months ago
- Lowercase the keys of an object☆40Updated last year
- Modify the filename in a path☆16Updated 2 years ago
- Apply custom attributes to vinyl files☆14Updated 9 years ago
- Check if a filepath is a Markdown file☆20Updated 3 years ago
- Ensure a path doesn't contain null bytes☆12Updated 2 years ago
- Check if a string is a scoped npm package name☆24Updated 2 years ago
- Check if a value is a Blob☆23Updated last year
- Similar to String#trim() but removes only whitespace on the right☆21Updated 3 years ago
- Get the system default UID☆11Updated last year
- Get an array of parent directories including itself☆27Updated last year
- Track the list of currently unhandled promise rejections☆24Updated 5 years ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Count the number of lines in a string☆10Updated 8 years ago