Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

uid-number

0.0.6 • Public • Published

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

Keywords

none

install

npm i uid-number

Downloadsweekly downloads

1,233,923

version

0.0.6

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability