sindresorhus / strip-shebang
Strip shebang (eg. #!/bin/sh) from a string
☆11Updated 3 years ago
Alternatives and similar repositories for strip-shebang:
Users that are interested in strip-shebang are comparing it to the libraries listed below
- Get the maximum permitted length of a path of a Unix domain socket☆13Updated 3 years ago
- Check if a number is a redirect HTTP status code☆23Updated 3 years ago
- Get the system default UID☆11Updated last year
- Convert a Source Map object to a comment☆15Updated 3 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆13Updated 4 years ago
- Modify the filename in a path☆16Updated 2 years ago
- Exclude certain items from an array☆20Updated 3 years ago
- Include only certain items in an array☆16Updated 3 years ago
- Get an array of parent directories including itself☆27Updated last year
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆18Updated last year
- Modify the values of an object☆27Updated 3 years ago
- Modify the keys of an object☆15Updated 3 years ago
- Check if a value is a function☆27Updated 3 years ago
- Split a string at one or more indices☆23Updated 3 years ago
- Get the avatar of a GitHub user☆21Updated 3 years ago
- Get the URL from a web shortcut file☆13Updated 3 years ago
- Get your Mac model☆15Updated 8 years ago
- 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
- Regular expression for matching mapcodes☆18Updated 2 years ago
- Get the name of a named function☆33Updated 4 years ago
- utility to create a pretty report for a vfile☆20Updated last year
- Lowercase the keys of an object☆40Updated last year
- Convert a time string to seconds: '0017' → 1337☆35Updated 3 years ago
- Check if a string is a scoped npm package name☆24Updated 2 years ago
- Simple way to initialize a new git repository in an empty directory, add a file and do a first commit (or skip that part in a directory w…☆11Updated 7 years ago
- Add AVA to your project☆15Updated 4 years ago
- ES2015 Number.isFinite() ponyfill☆19Updated 4 years ago
- Similar to String#trim() but removes only whitespace on the right☆21Updated 3 years ago