NPM module to convert an uid into an username
The "other way round" does my other NPM module user-to-uid
.
npm install uid-to-user
const uidToUser = require('uid-to-user');
uidToUser(0)
.then((username) => {
console.log(username);
})
.catch((err) => {
console.error(err);
});