@harvey0379/maojian
v0.0.2
Published
get git info from .git
Downloads
42
Readme
maojian
maojian (毛尖) is a kind of tea.
Get git info from
.git
Usage
yarn add @harvey0379/maojian
mjs
const getGitInfo = require('@harvey0379/maojian');
const gitInfo = getGitInfo();
esm
import getGitInfo from '@harvey0379/maojian';
const gitInfo = getGitInfo();
Typescript Support
import getGitInfo, { GitInfo, Params } from '@harvey0379/maojian';
const param: Params = {};
const gitInfo: GitInfo = getGitInfo(param);