sindresorhus / tildify
Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev
☆93Updated 2 years ago
Alternatives and similar repositories for tildify:
Users that are interested in tildify are comparing it to the libraries listed below
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Import a globally installed module☆58Updated last year
- Get the directory of globally installed packages and binaries☆75Updated last year
- Check if a path is a file, directory, or symlink☆78Updated 9 months ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Edit a string with the users preferred text editor using $VISUAL or $EDITOR☆44Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Import a module like with `require()` but from the current working directory☆52Updated 2 years ago
- Get the file extension and MIME type from a file☆26Updated 7 years ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- destroy a stream if possible☆56Updated 8 months ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 2 months ago
- Lazy number range generator☆81Updated last year
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 4 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Create and parse HTTP Content-Type header☆136Updated 9 months ago
- Require global npm as a local node module.☆32Updated 3 years ago
- Get a random temporary file path☆80Updated 2 years ago
- Resolve the path of a globally installed module☆41Updated last year
- Check if something is a Node.js stream☆111Updated 6 months ago
- Check if something is a promise☆46Updated 4 years ago
- Get the set npm registry URL☆55Updated 2 weeks ago
- Compressible Content-Type / mime checking.☆100Updated last year
- Get the path of the parent module☆77Updated last year
- Check if a URL is absolute☆79Updated 3 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago