sindresorhus / home-or-tmpLinks
Get the user home directory with fallback to the system temp directory
☆30Updated 4 years ago
Alternatives and similar repositories for home-or-tmp
Users that are interested in home-or-tmp are comparing it to the libraries listed below
Sorting:
- ES2015 Number.isNaN() ponyfill☆28Updated last year
- Repeat a string - fast☆34Updated 4 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Check if a number is a redirect HTTP status code☆23Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check if a value is a function☆27Updated 4 years ago
- Similar to String#trim() but removes only whitespace on the right☆21Updated 4 years ago
- Modify the filename in a path☆16Updated 3 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆35Updated 4 years ago
- Exclude certain items from an array☆22Updated 2 months ago
- Check if a file path is a binary file☆46Updated last year
- Check if an object can be used like an Array☆16Updated 4 years ago
- Modify the values of an object☆27Updated 4 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Check if a file path is a compressed file☆17Updated last year
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Timeout HTTP/HTTPS requests☆51Updated 4 years ago
- Extends `stats.isDirectory()`, returns `true` if a filepath is a directory.☆27Updated 8 years ago
- Slice a string with ANSI escape codes☆50Updated this week
- Check if a path exists☆23Updated last year
- Check if a path is in the current working directory☆21Updated 4 years ago
- ES2015 Number.isFinite() ponyfill☆19Updated 4 years ago
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Updated 8 years ago
- Center-align the text in a string.☆23Updated 8 years ago
- Regular expression for matching a shebang line☆46Updated 4 years ago
- Check if a string is a scoped npm package name☆24Updated 3 years ago
- Split a string at one or more indices☆23Updated 4 years ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Convert a time string to seconds: '0017' → 1337☆34Updated 4 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 4 years ago