Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

whoami

afc1632.4kMIT0.0.3

Who am I?

who, git, user, username

readme

Whoami


Usage

var whoami = require('whoami');
// In a git directory, would be git user and email
//   afc163 <afc163@gmail.com> 
// Otherwise, would be
//   process.evn.USER

LICENSE

MIT.