sindresorhus / global-directoryLinks
Get the directory of globally installed packages and binaries
☆77Updated 2 years ago
Alternatives and similar repositories for global-directory
Users that are interested in global-directory are comparing it to the libraries listed below
Sorting:
- Import a globally installed module☆58Updated last year
- Check if a path is a file, directory, or symlink☆80Updated last year
- Check if your package was installed globally☆70Updated 2 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Updated 3 years ago
- Check if your code is running as an npm or yarn script☆65Updated 3 months ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Check if something is a promise☆46Updated 4 years ago
- Lazy number range generator☆83Updated 2 years ago
- Get the real path of the system temp directory☆84Updated 3 years ago
- Get metadata on the default editor or a specific editor☆55Updated 3 months ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆62Updated 10 months ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 3 months ago
- Resolve the path of a globally installed module☆41Updated 2 years ago
- Add `module.exports` for Babel and TypeScript compiled code☆36Updated last year
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 7 years ago
- Check if argv has a specific flag☆96Updated 4 years ago
- Create an array without duplicates☆74Updated 4 years ago
- Check if the process is running with elevated privileges☆43Updated 4 years ago
- Convert directories to glob compatible strings☆44Updated 6 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Updated 4 years ago
- Copy a file☆122Updated 4 months ago
- Create a MD5 hash with hex encoding☆47Updated 2 years ago
- Get the set npm registry URL☆57Updated 8 months ago
- Turn an object into a string of HTML attributes☆50Updated 2 years ago
- Get the path of the caller module☆67Updated 4 years ago
- Check if the process is running as root user, for example, one started with `sudo`☆79Updated 3 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆62Updated 3 months ago