Illustrates calling the vSphere REST API via nodejs
First update the host/username/password for your VC:
let host = "https://sc2-rdops-vm06-dhcp-195-173";
let username = '[email protected]';
let password = 'Admin!23';
Then use the following:
$ git clone https://github.com/strefethen/vsphere-node.git
$ npm install
$ npm run start