For the moment, just the really first version..
But you could already manage right and template :)
Create the API client
const sonarQube = require("./sonarQube");
var auth = { user: "admin", password: "admin" };
var server = {url: "http://sonarQbue/"};
var client = sonarQube.sonarQube(auth, server);
Then play with it :)
client.user_group.search_groups().then(
(r) => {console.log(r)}
);