sindresorhus / global-directoryLinks
Get the directory of globally installed packages and binaries
☆76Updated last year
Alternatives and similar repositories for global-directory
Users that are interested in global-directory are comparing it to the libraries listed below
Sorting:
- Check if a path is a file, directory, or symlink☆78Updated last year
- Import a globally installed module☆58Updated last year
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 2 weeks ago
- Get the real path of the system temp directory☆81Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆94Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Check if a string matches the name of a Node.js builtin module☆61Updated 7 months ago
- Lazy number range generator☆81Updated last year
- Check if argv has a specific flag☆93Updated 4 years ago
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- Get metadata on the default editor or a specific editor☆53Updated 2 weeks ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 4 years ago
- Resolve the path of a globally installed module☆41Updated last year
- Add `module.exports` for Babel and TypeScript compiled code☆35Updated last year
- Conditional promise chains☆62Updated 4 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆69Updated 4 years ago
- Convert directories to glob compatible strings☆44Updated 5 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated last week
- Get namespaced config from the closest package.json☆120Updated last year
- Copy a file☆121Updated last month
- Detect the dominant newline character of a string☆55Updated 2 years ago
- Create an array without duplicates☆72Updated 4 years ago
- Check if the process is running with elevated privileges☆41Updated 4 years ago
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆95Updated 2 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Indent each line in a string☆113Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆105Updated 11 months ago