A ShellJS plugin for the whoami command.
$ npm install shelljs-plugin-whoamiTo use this plugin in your project, include it like so:
var shell = require('shelljs');
require('shelljs-plugin-whoami');
shell.whoami();$ npm run testnpm publish
Travis test
https://github.com/coreutils/coreutils/blob/master/src/whoami.c