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
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Repeat a string - fast☆35Updated 4 years ago
- Check if a number is a redirect HTTP status code☆24Updated 4 years ago
- Extends `stats.isDirectory()`, returns `true` if a filepath is a directory.☆27Updated 8 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get the command from a shebang☆24Updated 4 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆35Updated 4 years ago
- Check if a value is a function☆28Updated 4 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Updated 4 years ago
- Modify the values of an object☆28Updated 4 years ago
- Check if a path is in the current working directory☆22Updated 4 years ago
- Exclude certain items from an array☆22Updated 4 months ago
- Utility method to run function either synchronously or asynchronously using the common `this.async()` style.☆25Updated 3 months ago
- Slice a string with ANSI escape codes☆50Updated 2 months ago
- Check if a file path is a binary file☆48Updated last year
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 4 years ago
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆23Updated 8 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆49Updated 2 months ago
- ES2015 Number.isFinite() ponyfill☆19Updated 4 years ago
- ES2015 `String#codePointAt()` ponyfill☆22Updated 4 years ago
- Extended globs. Add (almost) the expressive power of regular expressions to glob patterns.☆32Updated 4 years ago
- Center-align the text in a string.☆23Updated 8 years ago
- Modify the filename in a path☆16Updated 3 years ago
- Regular expression for matching a shebang line☆47Updated 4 years ago
- Find the module object for something that was require()d☆27Updated 2 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Check if an object can be used like an Array☆17Updated last month
- Node's default require extensions as a separate module☆10Updated 3 years ago
- Lowercase the keys of an object☆40Updated 2 years ago