The choco-cli module provides a simple way to execute
choco commands.
The module relies upon the @gnome/exec module and
has the same basic usage as the Command and ShellCommand class.
import { choco } from "@gnome/choco-cli";
const result = choco("--version");
console.log(result.code);
console.log(result.text());