dotfiles/dot_oh-my-zsh/plugins/node
2020-06-15 05:31:33 -05:00
..
node.plugin.zsh import omz 2020-06-15 05:31:33 -05:00
README.md import omz 2020-06-15 05:31:33 -05:00

node plugin

This plugin adds node-docs function that opens specific section in Node.js documentation (depending on the installed version).

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

plugins=(... node)

Usage

# 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