1.0.1 • Published 7 years ago
user-to-uid v1.0.1
node-user-to-uid
NPM module to convert an UNIX-username into an uid
See also
The "other way round" does my other NPM module uid-to-user
.
Install
npm install user-to-uid
Usage
const userToUid = require('user-to-uid');
uidToUser('root')
.then((uid) => {
console.log(uid);
})
.catch((err) => {
console.error(err);
});