Deprecated
This package is no longer relevant as Node.js 4 is unmaintained.
user-info
Node.js
os.userInfo()
ponyfill
Install
$ npm install --save user-info
Usage
const userInfo = ; console;/*{ uid: 501, gid: 20, username: 'sindresorhus', homedir: '/Users/sindresorhus', shell: '/bin/zsh'}*/
API
See the os.userInfo()
docs.
The encoding
option is not supported.
License
MIT © Sindre Sorhus