Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.
/ uid-number Public archive

Convert a username/group name to a uid/gid number

License

Notifications You must be signed in to change notification settings

npm/uid-number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use this module to convert a username/groupname to a uid/gid number.

Usage:

npm install uid-number

Then, in your node program:

var uidNumber = require("uid-number")
uidNumber("isaacs", function (er, uid, gid) {
  // gid is null because we didn't ask for a group name
  // uid === 24561 because that's my number.
})

About

Convert a username/group name to a uid/gid number

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •