fie-user

4.0.1 • Public • Published

fie-user

NPM version David deps Known Vulnerabilities npm download

根据用户当前 git 信息去获取用户相关信息

安装

npm install fie-user --save

API

getUser()

获取git 用户名和邮箱地址

  • return: {object} 包含用户名和邮箱地址的对象
const fieUser = require('fie-user');
const user = fieUser.getUser();

console.log(user); // {name: 'xxx', email: 'xxx@xxx.xx'}

Support

使用过程中遇到的相关问题,及BUG反馈,可联系: hugohua baofen14787@gmail.com ,也可直接提issues

License

GNU GPLv3

Readme

Keywords

Package Sidebar

Install

npm i fie-user

Weekly Downloads

31

Version

4.0.1

License

ISC

Unpacked Size

39.6 kB

Total Files

5

Last publish

Collaborators

  • hugohua
  • xiaocong.hxc
  • zernmal
  • zhouxiong03
  • akirakai
  • mark-ck
  • channing_hyl