Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use git username and email for getLicense by default #14

Open
Freed-Wu opened this issue Dec 28, 2023 · 1 comment
Open

use git username and email for getLicense by default #14

Freed-Wu opened this issue Dec 28, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Freed-Wu
Copy link

Freed-Wu commented Dec 28, 2023

Currently,

import getLicense from "license";
getLicense("MIT")

Will generate a license with empty username and emailname. Why not insert username and email from git by default? That is, if user name is foo and email is [email protected], getLicense("MIT") will be like getLicense("MIT", { author: "foo", year: "2020" }).

@Ovyerus Ovyerus added the enhancement New feature or request label Jan 2, 2024
@Ovyerus
Copy link
Owner

Ovyerus commented Jan 2, 2024

Will do this as a part of #13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants