sindresorhus / global-directory
Get the directory of globally installed packages and binaries
☆75Updated 10 months ago
Related projects: ⓘ
- Import a globally installed module☆57Updated 8 months ago
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Check if a path is a file, directory, or symlink☆75Updated last month
- Check if your code is running as an npm or yarn script☆64Updated 2 years ago
- Check if your package was installed globally☆70Updated 10 months ago
- Resolve the path of a globally installed module☆41Updated 10 months ago
- Check if a string matches the name of a Node.js builtin module☆58Updated 4 months ago
- Check if something is a promise☆46Updated 3 years ago
- Get the path of the parent module☆77Updated 10 months ago
- A better `Promise.race()`☆45Updated last year
- Lazy number range generator☆82Updated 8 months ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 5 years ago
- Get the path of the caller module☆64Updated 2 years ago
- Convert directories to glob compatible strings☆44Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Standard NPM Package Format☆42Updated 2 years ago
- Get namespaced config from the closest package.json☆120Updated 10 months ago
- Get the set npm registry URL☆53Updated 2 years ago
- Conditional promise chains☆59Updated 3 years ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆67Updated 3 years ago
- Get metadata on the default editor or a specific editor☆53Updated last year
- Require global npm as a local node module.☆32Updated 2 years ago
- Wait for a specified number of promises to be fulfilled☆34Updated 10 months ago
- Create a lazily evaluated value☆68Updated 3 years ago
- Rename a function☆45Updated 10 months ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 5 years ago