Skip to content
This repository
tree: 4c41a75143

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

..
Octocat-spinner-32 LICENCE
Octocat-spinner-32 README.md
Octocat-spinner-32 get-uid-gid.js
Octocat-spinner-32 package.json
Octocat-spinner-32 uid-number.js
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.
})
Something went wrong with that request. Please try again.