Files
zsh-config/plugins/node
2026-03-01 20:58:45 -06:00
..
2026-03-01 20:58:45 -06:00
2026-03-01 20:58:45 -06: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