npm-author-name
v1.0.7
Published
Gets the npm author name from npmrc file, or fallback to git config
Downloads
7
Maintainers
Readme
description
Get/Set your npm author name from npmrc or gitconfig files
installation
npm i npm-author-name
usage example
import { setAuthorName, getAuthorName } from 'npm-author-name';
if(!getAuthorName()) {
setAuthorName("Some Name");
}
console.log("author name", getAuthorName())