dotfiles/zsh/.local/share/oh-my-zsh/plugins/node
2024-07-24 23:47:14 +02:00
..
node.plugin.zsh fix omz being in wrong directory 2024-07-24 23:47:14 +02:00
README.md fix omz being in wrong directory 2024-07-24 23:47:14 +02: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