#!/usr/bin/env node const { exec } = require("child_process"); exec("strap", (error, stdout, stderr) => { stdout && console.log(stdout); stderr && console.log(stderr); if (error !== null) { console.log(`exec error: ${error}`); } });