Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 668 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 668 Bytes

shelljs-plugin-whoami

shelljs-plugin

A ShellJS plugin for the whoami command.

Installation

$ npm install shelljs-plugin-whoami

Usage

To use this plugin in your project, include it like so:

var shell = require('shelljs');
require('shelljs-plugin-whoami');

shell.whoami();

Test

$ npm run test

TODO

npm publish
Travis test

GNU original function

https://github.com/coreutils/coreutils/blob/master/src/whoami.c