uid-to-user

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i uid-to-user

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • yannik-b