# git-ref-tags

> A lib to get tags and hash from remote git repository

Latest version **1.0.0** (published 2018-10-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install git-ref-tags
pnpm add git-ref-tags
yarn add git-ref-tags
bun add git-ref-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 | 2018-10-08 |
| First published | 2018-10-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | clownvary |
| Maintainers | wetfloor |
| Keywords | git, tag, tas, semver |

## Links

- npm: https://www.npmjs.com/package/git-ref-tags
- Repository: https://github.com/clownvary/git-ref-tags
- Issues: https://github.com/clownvary/git-ref-tags/issues
- npm.io page: https://npm.io/package/git-ref-tags

## 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) — 2018-10-08

## README

# git-ref-tags

> A lib to get tags and hash from remote git repository(github/gitlab)


## Install

> Need install git before you using this lib

```
$ npm install --save git-ref-tags
```

## Usage

```js
const gitRefTags = require('git-ref-tags');

const tags = gitRefTags('https://github.com/clownvary/git-ref-tags');
// tags like below
[
  { hash: '62123f682d00f40b6ebaf2dc591e25c00a9201fe',
    name: 'v0.1.0'
  },
  { hash: '8b3940bc0cce7e6c1a64af08edd8a75fedbdc3d1',
    name: 'v0.2.0'
  }
]
```

## API

### gitRefTags(url)

Returns a `Array[object]` with the Git tags and hash.

#### url

Type: `string`

Git repo URL.

## License

MIT ©

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