def __install_node_dependencies(kudu_client):
    """Installs Node.js dependencies at `site/wwwroot/` for Node.js bots.

    This method is only called when the detected bot is a Node.js bot.

    :return: Dictionary with results of the HTTP Kudu request
    """
    if not kudu_client._KuduClient__initialized:  # pylint:disable=protected-access
        kudu_client._KuduClient__initialize()  # pylint:disable=protected-access

    payload = {
        'command': 'npm install',
        'dir': r'site\wwwroot'
    }
    response = requests.post(kudu_client._KuduClient__scm_url + '/api/command', data=json.dumps(payload),  # pylint:disable=protected-access
                             headers=kudu_client._KuduClient__get_application_json_headers())   # pylint:disable=protected-access
    HttpResponseValidator.check_response_status(response)
    return response.json()