npm.io
1.0.7 • Published 6 years ago

npm-author-name

Licence
MIT
Version
1.0.7
Deps
5
Size
5 kB
Vulns
0
Weekly
0

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())

Keywords