You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
isaacs 25e8ea17e1 Do not gitignore npm's node_modules 13 years ago
..
LICENCE Do not gitignore npm's node_modules 13 years ago
README.md Upgrade npm to 1.1.14 13 years ago
get-uid-gid.js Upgrade npm to 1.1.14 13 years ago
package.json Upgrade npm to 1.1.24 13 years ago
uid-number.js Upgrade npm to 1.1.14 13 years ago

README.md

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.
})