login-user-profile
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

login-user-info

TypeScript Build Status

This package gets current user info:

import { getLoginUserProfile } from "login-user-profile";

async function main() {
    const profile = await getLoginUserProfile();
    // profile.name = "User Name"
    // profile.email = "user@example.com"
    // profile.githubUserId = "example-user"
    // profile.url = "http://github.com/example-user"
}

main();

This package guesses user name and email address, url from git config. And then, get user id

Readme

Keywords

none

Package Sidebar

Install

npm i login-user-profile

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

13.4 kB

Total Files

9

Last publish

Collaborators

  • shibu