README.md 431 Bytes
Newer Older
Denys Dovhan's avatar
Denys Dovhan committed
1
2
# node plugin

3
4
5
This plugin adds `node-docs` function that opens specific section in [Node.js](https://nodejs.org)
documentation (depending on the installed version).

Denys Dovhan's avatar
Denys Dovhan committed
6
To use it, add `node` to the plugins array of your zshrc file:
7

Denys Dovhan's avatar
Denys Dovhan committed
8
9
10
11
```zsh
plugins=(... node)
```

12
## Usage
Denys Dovhan's avatar
Denys Dovhan committed
13
14
15
16
17

```zsh
# Opens https://nodejs.org/docs/latest-v10.x/api/fs.html
$ node-docs fs
# Opens https://nodejs.org/docs/latest-v10.x/api/path.html
18
$ node-docs path
Denys Dovhan's avatar
Denys Dovhan committed
19
```