sindresorhus / untildify
Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev
☆144Updated last year
Alternatives and similar repositories for untildify:
Users that are interested in untildify are comparing it to the libraries listed below
- Get a random temporary file path☆79Updated 2 years ago
- Find the closest package.json file☆162Updated last year
- Strip leading whitespace from each line in a string☆136Updated 3 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Lazy number range generator☆81Updated last year
- Reliably get the terminal window size☆141Updated last year
- Truncate a string to a specific width in the terminal☆87Updated last year
- Filter object keys and values into a new object☆101Updated 9 months ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Create a lazily evaluated value☆69Updated 3 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Read the closest package.json file☆266Updated last year
- Get stdin as a string or buffer☆338Updated last year
- Import a module while bypassing the cache☆284Updated last month
- Read a package.json file☆165Updated last year
- Conditional promise chains☆60Updated 3 years ago
- Randomize the order of items in an array☆105Updated 2 years ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Move a file - Even works across devices☆198Updated last year
- Parse `.git/config` into a JavaScript object. sync or async.☆61Updated 6 years ago
- Get metadata of a package from the npm registry☆240Updated 8 months ago
- Find the root directory of a Node.js project or npm package☆240Updated last year
- Check if your package was installed globally☆70Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆140Updated 4 years ago
- Like findup-sync, but 2-4x faster and supports XDG-style `.config/` directories.☆41Updated 5 years ago
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆106Updated 2 years ago
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Settle promises concurrently and get their fulfillment value or rejection reason with optional limited concurrency☆91Updated last year
- Import a module like with `require()` but from a given path☆85Updated 2 years ago