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☆59Updated 2 years ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Import a module like with `require()` but from a given path☆86Updated 3 years ago
- Check if your package was installed globally☆71Updated 2 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Check if your code is running as an npm or yarn script☆65Updated 4 months ago
- Get the real path of the system temp directory☆85Updated 3 years ago
- Resolve the path of a globally installed module☆42Updated 2 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 7 years ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Updated 4 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Updated 3 years ago
- Lazy number range generator☆83Updated 2 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 4 months ago
- Indent each line in a string☆115Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆63Updated 11 months ago
- Add `module.exports` for Babel and TypeScript compiled code☆36Updated last year
- A better `Promise.race()`☆51Updated 3 years ago
- Find multiple RegExp matches in a string☆91Updated 3 years ago
- Get namespaced config from the closest package.json☆121Updated 2 years ago
- Conditional promise chains☆63Updated 4 years ago
- Get metadata on the default editor or a specific editor☆55Updated 4 months ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Check if something is a promise☆46Updated 4 years ago
- Turn an object into a string of HTML attributes☆50Updated 2 years ago
- Get the path of the parent module☆79Updated 4 months ago
- Wait for a specified number of promises to be fulfilled☆39Updated 4 months ago
- Create an array without duplicates☆74Updated 4 years ago
- Create a MD5 hash with hex encoding☆48Updated 2 years ago
- Check if argv has a specific flag☆96Updated 4 years ago