summaryrefslogtreecommitdiff
path: root/plugins/node/README.md
blob: 911b6693ba70096240f4d58851c6b1b2eb079780 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# node plugin

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

To use it, add `node` to the plugins array of your zshrc file:

```zsh
plugins=(... node)
```

## Usage

```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
$ node-docs path
```