Browse Node.js API documentation from your terminal.
curl(required)gloworbat(optional, for better rendering)jq(optional, for reliable--listoutput)
curl -fsSL https://raw.githubusercontent.com/zum281/ndoc/main/install.sh | bashDownloads the latest release and verifies its SHA-256 checksum before installing. Installs to /usr/local/bin by default — override with NDOC_INSTALL_DIR:
NDOC_INSTALL_DIR=~/.local/bin curl -fsSL https://raw.githubusercontent.com/zum281/ndoc/main/install.sh | bashVERSION=1.0.0
curl -fsSL "https://github.com/zum281/ndoc/releases/download/v${VERSION}/ndoc" \
-o /usr/local/bin/ndoc
chmod +x /usr/local/bin/ndocgit clone https://github.com/zum281/ndoc.git
ln -s "$PWD/ndoc/ndoc" /usr/local/bin/ndocndoc fs # Full fs module docs
ndoc fs.readFile # Only the readFile section
ndoc --list # List all available modules
ndoc --version # Show ndoc version
ndoc --help # Show helpFetches Markdown source directly from the Node.js GitHub repository and renders it in your terminal via glow, bat, or less.
MIT
