sindresorhus / tempfile
Get a random temporary file path
☆79Updated last year
Related projects: ⓘ
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Check if argv has a specific flag☆90Updated 3 years ago
- Lazy number range generator☆82Updated 8 months ago
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Check if your package was installed globally☆70Updated 10 months ago
- Check if something is a Node.js stream☆111Updated 4 months ago
- Ensures a value is a valid error by making it one if not☆78Updated 2 years ago
- Check if a URL is absolute☆77Updated 3 years ago
- Filter object keys and values into a new object☆100Updated 3 months ago
- Iterate over promises serially☆49Updated 2 years ago
- Get the path of the parent module☆77Updated 10 months ago
- Get the directory of globally installed packages and binaries☆75Updated 10 months ago
- Get namespaced config from the closest package.json☆120Updated 10 months ago
- Create a lazily evaluated value☆68Updated 3 years ago
- Run promise-returning & async functions repeatedly until you end it☆43Updated 3 years ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Get the path of the caller module☆64Updated 2 years ago
- Conditional promise chains☆59Updated 3 years ago
- Exit the process when the `esc` key is pressed☆57Updated 9 months ago
- Require global npm as a local node module.☆32Updated 2 years ago
- Compose promise-returning & async functions into a reusable pipeline☆120Updated 3 years ago
- A better `Promise.race()`☆45Updated last year
- Prepare a node environment to require files with different extensions.☆48Updated 2 months ago
- Detect the dominant newline character of a string☆55Updated 11 months ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Get PID from a port☆80Updated 3 years ago
- Import a module like with `require()` but from the current working directory☆53Updated 2 years ago
- Get locally or globally installation path of given package name.☆42Updated last year
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 3 years ago