]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/node/node.plugin.zsh
initial
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / node / node.plugin.zsh
1 # Open the node api for your current version to the optional section.
2 # TODO: Make the section part easier to use.
3 function node-docs {
4   local section=${1:-all}
5   open_command "https://nodejs.org/docs/$(node --version)/api/$section.html"
6 }