sindresorhus / is-archive
Check if a file path is an archive file
☆13Updated 6 months ago
Related projects ⓘ
Alternatives and complementary repositories for is-archive
- Regular expression for matching scoped npm package names☆26Updated 2 years ago
- Check if a file path is a compressed file☆16Updated 6 months ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- Get the system default UID☆11Updated last year
- Strip UTF-8 byte order mark (BOM) from a buffer☆19Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Get the version of a binary in semver format☆42Updated 7 months ago
- Modify the keys of an object☆15Updated 3 years ago
- Prepend `<br>` to newlines in a string☆12Updated 3 years ago
- Lowercase the keys of an object☆40Updated last year
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 3 years ago
- Regular expression for matching a shebang line☆46Updated 3 years ago
- Get the maximum permitted length of a path of a Unix domain socket☆13Updated 3 years ago
- Ensure a path doesn't contain null bytes☆12Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Check if a file path is a text file☆16Updated 6 months ago
- ES2015 Math.imul() ponyfill☆10Updated last year
- Get the path to the user home directory☆13Updated 3 years ago
- Check if a file path is a binary file☆42Updated 6 months ago
- Get all emails in a text file or stdin☆24Updated 3 years ago
- Exclude certain items from an array☆20Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated last year
- Check if an object can be used like an Array☆16Updated 3 years ago
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆13Updated 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 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 3 years ago
- Check if something is a generator function☆23Updated 2 years ago