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