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