/whoami

NPM Module for getting the logged in users name

Primary LanguageJavaScriptMIT LicenseMIT

whoami

NPM Module for getting the logged in users name

Supported on:

Windows OS Mac OS

Installation:

=> Run the following npm command:

npm install --save-dev whoami-exec

=> Use it like so:

var whoami = require('whoami-exec');

var username = whoami();