Displaying 1 to 3 from 3 results

passwd-user - Get the passwd user entry from a username or uid

  •    Javascript

Works on macOS and Linux. See user-info if you need cross-platform support.Accepts a username or uid number. Defaults to the current user (process.getuid()).

pwuid - getpwuid() Node.js binding - returns username, name, home directory, shell, gid from uid

  •    C++

If you're creating a reusable module you should probably use passwd-user instead, as it shells out rather than using a native binding.getpwuid() is a POSIX function and won't work on Windows.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.