fixes and admin data
This commit is contained in:
7
node_modules/global-dirs/readme.md
generated
vendored
7
node_modules/global-dirs/readme.md
generated
vendored
@@ -1,17 +1,15 @@
|
||||
# global-dirs [](https://travis-ci.org/sindresorhus/global-dirs)
|
||||
# global-dirs
|
||||
|
||||
> Get the directory of globally installed packages and binaries
|
||||
|
||||
Uses the same resolution logic as `npm` and `yarn`.
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install global-dirs
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
@@ -30,7 +28,6 @@ console.log(globalDirectories.yarn.packages);
|
||||
//=> '/Users/sindresorhus/.config/yarn/global/node_modules'
|
||||
```
|
||||
|
||||
|
||||
## API
|
||||
|
||||
### globalDirectories
|
||||
@@ -56,14 +53,12 @@ Directory with directories for packages and binaries. You probably want either o
|
||||
|
||||
Equivalent to `npm prefix --global`.
|
||||
|
||||
|
||||
## Related
|
||||
|
||||
- [import-global](https://github.com/sindresorhus/import-global) - Import a globally installed module
|
||||
- [resolve-global](https://github.com/sindresorhus/resolve-global) - Resolve the path of a globally installed module
|
||||
- [is-installed-globally](https://github.com/sindresorhus/is-installed-globally) - Check if your package was installed globally
|
||||
|
||||
|
||||
---
|
||||
|
||||
<div align="center">
|
||||
|
||||
Reference in New Issue
Block a user