login-user-info
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