# gitver

> Generate version number by git history inspired by python-pbr

Latest version **0.0.3** (published 2016-04-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install gitver
pnpm add gitver
yarn add gitver
bun add gitver
```

Provides the command `gitver`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2016-04-11 |
| First published | 2016-04-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | codeskyblue |
| Maintainers | codeskyblue |
| Keywords | git, version, auto |

## Links

- npm: https://www.npmjs.com/package/gitver
- Repository: https://github.com/codeskyblue/gitver
- Homepage: https://github.com/codeskyblue/gitver#readme
- Issues: https://github.com/codeskyblue/gitver/issues
- npm.io page: https://npm.io/package/gitver

## Dependencies (3)

- [semver](https://npm.io/package/semver.md) ^5.1.0
- [bluebird](https://npm.io/package/bluebird.md) ^3.3.4
- [commander](https://npm.io/package/commander.md) ^2.9.0

## Recent versions

- 0.0.3 (latest) — 2016-04-11
- 0.0.2 — 2016-04-11
- 0.0.1 — 2016-04-08

## README

# gitver
Auto generate version number by git log and tag

This is a Nodejs library.

## Usage

Command line

```
$ gitver version
# expect output 0.0.1.dev
```

库的使用

```
var gv = require('git-tag-version')

gv.current(function(version){
    console.log(version) // expect: 0.0.1
})
```

If recent `git tag` is v0.0.2, then function will return 0.0.2 or 0.0.3.dev

## LICENSE
Under [MIT](LICENSE)

---
_Source: https://npm.io/package/gitver · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
