# count-git-tags

> A tool to count the number of tags of a git repository

Latest version **1.0.0** (published 2017-08-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install count-git-tags
pnpm add count-git-tags
yarn add count-git-tags
bun add count-git-tags
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-08-12 |
| First published | 2017-08-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Lukas Aichbauer |
| Maintainers | aichbauer |
| Keywords | git, tag, tags, count, count-git-tags |

## Links

- npm: https://www.npmjs.com/package/count-git-tags
- Repository: https://github.com/aichbauer/node-count-git-tags
- Homepage: https://github.com/aichbauer/node-count-git-tags#readme
- Issues: https://github.com/aichbauer/node-count-git-tags/issues
- npm.io page: https://npm.io/package/count-git-tags

## Dependencies (4)

- [execa](https://npm.io/package/execa.md) ^0.6.1
- [fs-extra](https://npm.io/package/fs-extra.md) ^3.0.1
- [path-is-absolute](https://npm.io/package/path-is-absolute.md) ^1.0.1
- [is-git-repository](https://npm.io/package/is-git-repository.md) ^1.1.1

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2017-08-12

## README

# count-git-tags

A tool to count the number of tags of a git repository

[![Build Status](https://travis-ci.org/aichbauer/node-count-git-tags.svg?branch=master)](https://travis-ci.org/aichbauer/node-count-git-tags)
[![Build status](https://ci.appveyor.com/api/projects/status/wr6v4elj6xa7grno?svg=true)](https://ci.appveyor.com/project/aichbauer/node-count-git-tags)
[![Coverage Status](https://coveralls.io/repos/github/aichbauer/node-count-git-tags/badge.svg?branch=master)](https://coveralls.io/github/aichbauer/node-count-git-tags?branch=master)

## Installation

```sh
$ npm i count-git-tags --save
```
or
```sh
$ yarn add count-git-tags
```

## Usage

```js
const countGitTags = require('count-git-tags');

countGitTags(); // the number of tags of a repo of process.cwd()

countGitTags({ path: 'path/to/repo' }); // the number of tags of a repo in `path/to/repo`

countGitTags({ path: 'path/to/repo', local: false }); // the number of tags of a repo in `path/to/repo`, from the remote repository
```

## LICENSE

MIT © Lukas Aichbauer

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