1.0.2 • Published 7 years ago

login-user-profile v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

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

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago