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

Package detail

username-sync

stefanpenner544kMIT1.0.3

username but only sync and for node 0.12

readme

username.sync

Build Status Build status

yarn add username-sync
npm install username-sync --save
var username = require('username-sync');

username() // => "best-guess-system-username"

If you are using new versions of node => 4x, please use username module. This project exists to help users make the transition.