dotfiles/zsh/.oh-my-zsh/plugins/node
2021-01-19 21:01:53 +01:00
..
node.plugin.zsh Initial dot-file commit after setting up repo and playing with stow 2021-01-19 21:01:53 +01:00
README.md Initial dot-file commit after setting up repo and playing with stow 2021-01-19 21:01:53 +01: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