sindresorhus / global-directory
Get the directory of globally installed packages and binaries
☆75Updated last year
Alternatives and similar repositories for global-directory:
Users that are interested in global-directory are comparing it to the libraries listed below
- Import a globally installed module☆58Updated last year
- Check if a path is a file, directory, or symlink☆78Updated 8 months ago
- Check if your package was installed globally☆70Updated last year
- Resolve the path of a globally installed module☆41Updated last year
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated last month
- Lazy number range generator☆81Updated last year
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Check if something is a promise☆46Updated 3 years ago
- Convert directories to glob compatible strings☆44Updated 5 years ago
- Get the path of the parent module☆77Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Get metadata on the default editor or a specific editor☆53Updated last year
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Standard NPM Package Format☆42Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- A better `Promise.race()`☆46Updated 2 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 5 months ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- A Set implementation with expirable keys☆16Updated 6 years ago
- Add `module.exports` for Babel and TypeScript compiled code☆35Updated 11 months ago
- Regular expression for matching issue references☆49Updated 6 months ago
- Prints the current date and time as a UNIX timestamp or custom format☆46Updated 3 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago