Popularity
1.1
Stable
Activity
0.0
Stable
32
6
1

Monthly Downloads: 0
Programming language: JavaScript
License: MIT License
Tags: Node.Js     Polyfills     Shell     Ponyfill     Polyfill     Shim     Homedir     User     Os     Core     Builtin     Uid     Username     Gid     Passwd     Info     userInfo    
Latest version: v2.0.0

user-info alternatives and similar modules

Based on the "Node.Js" category.
Alternatively, view user-info alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of user-info or a related project?

Add another 'Node.Js' Module

README

Deprecated

This package is no longer relevant as Node.js 4 is unmaintained.


user-info Build Status

Node.js os.userInfo() ponyfill

Install

$ npm install --save user-info

Usage

const userInfo = require('user-info');

console.log(userInfo());
/*
{
    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


*Note that all licence references and agreements mentioned in the user-info README section above are relevant to that project's source code only.