user-to-uid

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i user-to-uid

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • yannik-b