Skip to content

Instantly share code, notes, and snippets.

View daKmoR's full-sized avatar
❤️
Web Components & open-wc

Thomas Allmer daKmoR

❤️
Web Components & open-wc
View GitHub Profile
@daKmoR
daKmoR / index.js
Last active March 21, 2019 22:31 — forked from zkat/index.js
npx is cool
#!/usr/bin/env node
const util = require('util');
const exec = util.promisify(require('child_process').exec);
async function systemVersionInfos() {
const { stdout: nodeVersion } = await exec('node --version');
console.log('$ node --version');
console.log(nodeVersion);