1# Open the node api for your current version to the optional section. 2# TODO: Make the section part easier to use. 3function node-docs { 4 local section=${1:-all} 5 open_command "https://nodejs.org/docs/$(node --version)/api/$section.html" 6} 7
1# Open the node api for your current version to the optional section. 2# TODO: Make the section part easier to use. 3function node-docs { 4 local section=${1:-all} 5 open_command "https://nodejs.org/docs/$(node --version)/api/$section.html" 6} 7