sindresorhus / global-directoryLinks
Get the directory of globally installed packages and binaries
☆76Updated 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:
- Check if a path is a file, directory, or symlink☆79Updated last year
- Import a globally installed module☆57Updated last year
- Resolve the path of a globally installed module☆40Updated 2 years ago
- Check if your package was installed globally☆69Updated 2 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Check if your code is running as an npm or yarn script☆64Updated 2 months ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆95Updated 3 years ago
- Get the real path of the system temp directory☆83Updated 3 years ago
- Lazy number range generator☆82Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Add `module.exports` for Babel and TypeScript compiled code☆35Updated last year
- Check if something is a promise☆46Updated 4 years ago
- Copy a file☆121Updated 3 months ago
- Check if a string matches the name of a Node.js builtin module☆61Updated 9 months ago
- Convert directories to glob compatible strings☆44Updated 6 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆46Updated 4 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Get metadata on the default editor or a specific editor☆54Updated 2 months ago
- Exit the process when the `esc` key is pressed☆57Updated last year
- Get the first path that exists on disk of multiple paths☆61Updated 2 months ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 2 months ago
- Create an array with values that are present in the first input array but not additional ones☆40Updated 4 years ago
- Extract the actual stack of an error☆67Updated 3 years ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Get the path of the caller module☆66Updated 4 years ago
- Get the path of the parent module☆78Updated 2 months ago
- Get environment variables from the shell☆82Updated 2 months ago
- Check if a value is a plain object☆103Updated last year
- Create a lazily evaluated value☆69Updated 4 years ago
- Strip UTF-8 byte order mark (BOM) from a string☆112Updated 4 years ago