I too would love for this feature to be added.
Wouldn't it be pretty easy hide the implementation behind a check whether node is installed (a feature flag, if you will)?
For example, in bash, I use this function to check whether something is installed:
function probe {
if hash $1 2>/dev/null; then
echo "it doesn't exist"
else
echo "it does exist"
fi
}
For example, this is what I get: